简体   繁体   中英

Can't Install Pygame for Enthought Canopy using pip or easy_install?

Alright tried all the previous suggestions as specified in similar questions asked regarding this topic on StackOverflow. But I've encountered the following problems:

  1. The default package manager has no pygame package available,hence its of no use.

  2. Tried enpkg method,but then it exits sending out error messages which I can't read as they vanish quickly just before the window closes.

  3. Tried the pip and easy_install methods but they all spit out various errors like "Could not find any downloads specifying the requirements".I'm sure I haven't made any syntax mistake while issuing the shell commands.

Hence I wish to ask for any way to install Pygame package in Enthought canopy either completely manually or by any other way conceivable.

If possible,a precise walkthrough would be greatly appreciated. And please don't close this question right away as it's 'NOT THE SAME' as others because I've tried the other alternatives but to no avail.

Thanks for your time!

Edit:Forgot to mention,I'm using Windows 7 ,64 bit.

Which OS do you use? If you are using windows, try this Unofficial Windows Binaries for Python Extension Packages

Since your pip raise "Could not find any downloads specifying the requirements", I guess the reason is that it's not up-to-date. Try updating it.

我有一个非传统的想法,只需为刚安装在C:\\驱动器中的python安装pygame,然后复制pygame模块到python27 \\ Lib \\ sitepackages \\ pygame中,然后将其粘贴到站点中-天篷包装

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM