I made a report creation tool that works with the following specifications, so make a note of the operating environment. A general-purpose part will be released at a later date.
- windows7,32bit - python2.7.10 -Module (ipython, numpy, pandas, matplotlib, scipy, sphinx) -Install wkhtmltopdf as well.
Because python is not included in window by default Install from the following.
https://www.python.org/downloads/ 2.7.11 Windows x86 MSI installer
If you add the following to your PATH, you can hit python and pip from the command prompt.
C:\Python27;C:\Python27\Scripts;
It seems that pip is attached to the package after python2.7.9.
First, keep pip up to date.
pip install —upgrade pip
Then add various modules with pip.
pip install ipython
pip install numpy
pip install pandas
pip install sphinx
I installed scipy from the official website. https://sourceforge.net/projects/scipy/files/scipy/0.16.1/
Then install matplotlib.
pip install matplotlib
Finally, the list installed by the confirmation command I will confirm it. The above modules (including dependent modules)
pip list
wkhtmltopdf Obtain stable (stable version) according to the environment from the following site and install it. http://wkhtmltopdf.org/downloads.html
By the way, I installed the following version this time. Windows 0.12.3.2 32-bit
Finally, add the following to your PATH and you're good to go. C:\Program Files\wkhtmltopdf\bin
Each role is as follows.
I recently started data analysis using pandas, As a result of examining the method of automatically generating the report (pdf format) I think it would be good to do it in such an environment.
I would be grateful if you could tell me if there is another way to do it.
Install Python machine learning / numerical calculation environment (NumPy, SciPy, matplotlib, scikit-learn) on Windows http://www.terabo.net/blog/python-on-windows/ How to create beautiful Japanese PDF quickly and easily with Sphinx http://dxd8.com/archives/225/
Recommended Posts