easy-install

easy_install conflict for python2.4 and python2.7

 ̄綄美尐妖づ 提交于 2019-12-12 07:00:10
问题 I have installed python under /opt/python2.7.1/ on CentOS machine which has already python2.4 and configure it to run python2.7 default. However, when I write 'easy_install' it raises error like Traceback (most recent call last): File "/opt/python2.7.1/bin/easy_install", line 5, in ? from pkg_resources import load_entry_point File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2482, in ? for dist in working_set.resolve( File "/usr/lib/python2.4/site-packages/pkg_resources.py", line

scrapy installation error

本秂侑毒 提交于 2019-12-12 05:25:10
问题 i'm having trouble running easy_install scrapy and got the following error: **cc1.exe: error: unrecognized command line option '-mno -cygwin' error: setup script exited with error: command 'gcc' failed with exit status 1** i'm running python 2.7 on windows 32 bit. i installed mingw, libxslt, liblxml2. what's going on there? Thanks! 回答1: The solution is to remove all instances of -mno-cygwin from C:\Python27\Lib\distutils\cygwinccompiler.py, re-run easy_install. I had this same problem and I

Installing package in Python

早过忘川 提交于 2019-12-11 14:02:47
问题 I have in my laptop installed both python 2.7 and python 3.5 . When I install a package and use for example: pip install thunder-python or easy_install thunder in command prompt the packages are installed for python 3.5. How can I install the packages in order to use them in python 2.7? I am using Windows 10. 回答1: Add C:\Python27\Scripts to your PATH in system settings, and you will be able to run: pip3 thunder to install packages for Python 3.x and pip2 thunder or pip2.7 thunder to install

How do I force easy_install.exe to print output in the current command window?

拟墨画扇 提交于 2019-12-11 07:02:44
问题 I am running Windows 7 64 bit and have installed easy_install. When I run easy_install from the command prompt it opens another window for the output and quickly closes before I am able to examine what has been done. I am aware of this question but think it may have been closed prematurely as the solution that the closed ticket referred to here does not work on my system. When I run the cmd window as Administrator and then execute (for example): $ easy_install pip I get the same behavior ...

pip-3.3 SSL verification error , mac OSX 10.5.8

那年仲夏 提交于 2019-12-11 01:23:05
问题 I am getting an error when trying to run pip-3.3 install numpy from the terminal in OSX 10.5.8 here is the error in question: could not fetch URL...: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)> as far as i can tell there is no information on this at all on google or anywhere else for that matter. So any information anyone can provide would be nice because installing packages by hand is a pain. pip version: pip 1.3.1 from /Library/Frameworks/Python.framework

Errors while installing python packages

▼魔方 西西 提交于 2019-12-11 01:19:33
问题 I 'm not able to install python packages from both pip and easy_install . There's some absurd kind of error that keeps popping up. Kindly help to rectify it. I get the same errors while using python setup.py install . Error while installing django-memcached C:\Users\Praful\Desktop\django-redis-master>easy_install django-memcached Traceback (most recent call last): File "C:\Python27\Scripts\easy_install-script.py", line 9, in <module> load_entry_point('distribute==0.6.27', 'console_scripts',

Installing Python package pathos from git

血红的双手。 提交于 2019-12-11 00:18:15
问题 I am trying to install pathos library from git, but getting the following error: >pip install https://github.com/uqfoundation/pathos Exception: Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main status = self.run(options, args) File "C:\Python27\lib\site-packages\pip\commands\install.py", line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundl e=self.bundle) File "C:\Python27\lib\site-packages\pip

entry_points does not create custom scripts with pip or easy_install in Python?

心已入冬 提交于 2019-12-10 19:10:54
问题 I am using simple entry points to make a custom script, with this in setup.py : entry_points = { 'my_scripts': ['combine_stuff = mypackage.mymod.test:foo'] } where mypackage/mymod/test.py contains: import argh from argh import arg @arg("myarg", help="Test arg.") def foo(myarg): print "Got: ", myarg When I install my package using this (in same directory as setup.py ) pip install --user -e . The entry points do not get processed at all it seems. Why is that? If I install with distribute easy

NumPy won't upgrade from 1.5.1 to 1.6.2 on OS X 10.7

牧云@^-^@ 提交于 2019-12-10 13:48:06
问题 I am attempting to update/upgrade my NumPy, but am failing. I think I might have multiple versions of NumPy installed in different directories, but python by default imports an old one. Any help? Here's where my Python is: Gonzo-vs-Kitties:~ brian$ which python /Library/Frameworks/Python.framework/Versions/2.7/bin/python Here's the version that Python imports: Gonzo-vs-Kitties:~ brian$ python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

ImportError: No module named distutils

吃可爱长大的小学妹 提交于 2019-12-10 13:44:24
问题 Attempt to install psutils resulted a big headache... $ python -V Python 2.4.2 $ cat /etc/SuSE-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 4 $ cd psutil-2.1.1/ $ python setup.py install Traceback (most recent call last): File "setup.py", line 17, in ? from distutils.core import setup, Extension ImportError: No module named distutils.core Next - I try to install setuptools to use easy_install : $ which easy_install which: no easy_install $ cd ../setuptools-1.4/ $