easy-install

Bypass Confirmation Prompt for pip uninstall

假如想象 提交于 2019-12-18 10:58:13
问题 I'm trying to uninstall all django packages in my superuser environment to ensure that all my webapp dependencies are installed to my virtualenv. sudo su sudo pip freeze | grep -E '^django-' | xargs pip -q uninstall But pip wants to confirm every package uninstall, and there doesn't seem to be a -y option for pip. Is there a better way to uninstall a batch of python modules? Is rm -rf .../site-packages/ a proper way to go? Is there an easy_install alternative? Alternatively, would it be

How to fix Python Numpy/Pandas installation?

别等时光非礼了梦想. 提交于 2019-12-18 10:40:48
问题 I would like to install Python Pandas library (0.8.1) on Mac OS X 10.6.8. This library needs Numpy>=1.6. I tried this $ sudo easy_install pandas Searching for pandas Reading http://pypi.python.org/simple/pandas/ Reading http://pandas.pydata.org Reading http://pandas.sourceforge.net Best match: pandas 0.8.1 Downloading http://pypi.python.org/packages/source/p/pandas/pandas-0.8.1.zip#md5=d2c5c5bea971cd760b0ae6f6850fcb74 Processing pandas-0.8.1.zip Running pandas-0.8.1/setup.py -q bdist_egg -

Install particular version with easy_install

和自甴很熟 提交于 2019-12-18 10:22:02
问题 I'm trying to install lxml . I've had a look at the website, and version 2.2.8 looked reasonable to me but when I did easy_install lxml , it installed version 2.3.beta1 which is not really what I want I presume. What is the best way to fix this and how can I force easy_install to install a particular version? (Mac os x 10.6) 回答1: I believe the way to specify a version would be like this: easy_install lxml==2.2.8 I (and most other Python users I suspect) stopped using easy_install and started

Python package install using pip or easy_install from repos

对着背影说爱祢 提交于 2019-12-18 10:12:06
问题 The simplest way to deal with python package installations, so far, to me, has been to check out the source from the source control system and then add a symbolic link in the python dist-packages folder. Clearly since source control provides the complete control to downgrade, upgrade to any branch, tag, it works very well. Is there a way using one of the Package installers (easy_install or pip or other), one can achieve the same. easy_install obtains the tar.gz and install them using the

Installing Scrapy-Python and Easy_install on windows 7

大憨熊 提交于 2019-12-18 09:26:17
问题 I'm trying to install Scrapy on windows 7. I'm following these instructions: http://doc.scrapy.org/en/0.24/intro/install.html#intro-install I’ve downloaded and installed python-2.7.5.msi for windows following this tutorial https://adesquared.wordpress.com/2013/07/07/setting-up-python-and-easy_install-on-windows-7/, and I set up the environment variables as mentioned, but when I try to run python in my command prompt I get this error: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009

How can I install a specific version of pip via easy-install? - Mac OS Mavericks

不羁岁月 提交于 2019-12-18 09:22:08
问题 I am constantly getting the Cannot fetch index base URL https://pypi.python.org/simple/ whenever I try to pip install anything with the most recent pip version. I read on some other questions that pip was having SSL related issues in its latest version and recommended to install pip 1.2.1. How do I install a specific version of pip via easy_install for example? 回答1: You should be able to install pip with pip: pip install --upgrade pip==1.2.1 回答2: Based on your context, you can uninstall as

Installing numpy on Amazon EC2

故事扮演 提交于 2019-12-18 02:51:11
问题 I am having trouble installing numpy on an Amazon EC2 server. I have tried using easy_install, pip, pip inside a virtual env, pip inside another virtual env using python 2.7... Every time I try, it fails with the error: gcc: internal compiler error: Killed (program cc1) , and then further down the line I get a bunch of python errors, with easy_install I get: ImportError: No module named numpy.distutils , and with pip I get: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position

Installing numpy on Amazon EC2

此生再无相见时 提交于 2019-12-18 02:51:07
问题 I am having trouble installing numpy on an Amazon EC2 server. I have tried using easy_install, pip, pip inside a virtual env, pip inside another virtual env using python 2.7... Every time I try, it fails with the error: gcc: internal compiler error: Killed (program cc1) , and then further down the line I get a bunch of python errors, with easy_install I get: ImportError: No module named numpy.distutils , and with pip I get: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position

Can a Python package depend on a specific version control revision of another Python package?

空扰寡人 提交于 2019-12-17 22:37:04
问题 Some useful Python packages are broken on pypi, and the only acceptable version is a particular revision in a revision control system. Can that be expressed in setup.py e.g requires = 'svn://example.org/useful.package/trunk@1234' ? 回答1: You need to do two things. First, require the exact version you want, e.g.: install_requires = "useful.package==1.9dev-r1234" and then include a dependency_links setting specifying where to find it: dependency_links = ["svn://example.org/useful.package/trunk

easy_install launches as a terminal and closes on its own, how to avoid that

不羁岁月 提交于 2019-12-17 20:29:20
问题 Trying to install various packages on a Windows 7 64 bit and learned that ActivePython helps (as it includes easy_install among others). It surely seems pretty robust. However I'm trying to easy_install a few packages and its failing. The problem is that the easy_install.exe actually launches in a new terminal and closes on its own, even when there is a problem, how do I avoid that ? Anyone faced this issue ? 回答1: Perhaps easy_install is trying to relaunch itself as Administrator in a