Sunday, September 21, 2014

Installing and using Python packages in Windows

Install Python in your machine
Install Setuptools - This makes installing packages easy (https://pypi.python.org/pypi/setuptools#windows-simplified)
easy_install pip (Do this in cmd and you will get pip)

Installing a package found in Pypi.
Download the package and extract the contents in some directory
python setup.py install (Do this in cmd in the right folder - your package is now installed)
python
import deap.
AND struggle to install Open dynamics engine package
That needs Visual studio C++ compiler. Need to install it tomorrow.


No comments:

Post a Comment