开发者

Installing python module

I'm new to python and is trying to install the pyimage module. http://code.google.com/p/pyimage/

I'm on Windows, and have downloaded and installed 2.6 and 3.1.

I downloaded pyimage, and used cmd and cd to get to its dir.

I then got this:

C:\Users\Jourkey\Desktop\py开发者_如何转开发image-0.8.13\pyimage-0.8.13>python setup.py install
'python' is not recognized as an internal or external command,
operable program or batch file.

How do I install this?

Thanks!


It is giving you that error because Python is not in your path. By default, the Python executable is not added to the path. You will have to do it manually. An in-depth tutorial endorsed by the Python website may be found here.


To put Python on your system's environment PATH variable, so that running python at a command prompt will work, follow the instructions in this video.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜