easy-install

How to install numpy in a virtualenv on Debian?

自闭症网瘾萝莉.ら 提交于 2019-12-23 13:25:06
问题 (NB: see this other post for why I am not using dpkg/apt-get/etc. for this installation.) I can install numpy in a virtualenv on Debian with, e.g., pip: (base)[1778]% pip -v install numpy Downloading/unpacking numpy ... <output omitted> ... Successfully installed numpy Cleaning up... Removing temporary dir /home/jones/.virtualenvs/base/build... But immediately after this: (base)[1779]% python Python 2.7.1 (r271:86832, Jun 22 2011, 15:39:05) [GCC 4.3.2] on linux2 Type "help", "copyright",

Installing pillow on windows fails to find libjpeg

空扰寡人 提交于 2019-12-23 04:26:58
问题 Sys: Windows 7 Prof; Python v3.3 I've tried to use: 'easy_install Pillow' 'pip install use-wheel Pillow' Download package manually and 'python setup.py install' but all the time i cant install any extensions: *** TKINTER support not available (Tcl/Tk 8.5 libraries needed) *** JPEG not support available *** ZLIB (PNG/ZIP) support not available *** TIFF G3/G4 (experimental) support not available *** FREETYPE2 support not available *** LITTLECMS support not available *** WEBP support not

python setuptools: ImportError: cannot import name Library

不羁的心 提交于 2019-12-22 18:45:11
问题 I have a Windows 7 64bit machine and want to install the python package mgrs. I have tried using both easy_install and running python setup.py install in the mgrs directory. Easy_install gives me the error below. C:\Users\farrell>easy_install mgrs Searching for mgrs Reading https://pypi.python.org/simple/mgrs/ Best match: mgrs 1.1.0 Downloading https://pypi.python.org/packages/source/m/mgrs/mgrs-1.1.0.tar.gz#md5 =96e0c00f16d86a3f8b84c2c46cb68b8e Processing mgrs-1.1.0.tar.gz Writing c:\users

Best method for managing Jython packages

三世轮回 提交于 2019-12-22 18:28:48
问题 I'm building a Jython program in PyDev and in the process have found need for some packages that are not standard for Jython 2.5 but that are standard for CPython 2.7. To this point, I've been using python's easy_install and incorrectly pointing PyDev to /usr/lib/python2.7/dist-packages. While incorrect, this has worked for the past few months until today when I encountered this problem; one of the Python 2.7 libs taking prescient over a Jython lib and causing havok. My question is two-fold:

How to install pip on python (error : No such file or directory)

痴心易碎 提交于 2019-12-22 11:35:56
问题 I'm trying to Install Django on my Mac so I have to install pip on Python, and I don't know why the instructions I found on internet don't work for me... Here is my problem : sudo easy_install pip sudo: unable to execute /usr/local/bin/easy_install: No such file or directory And I'm always getting that "no such file or directory". Any help would be appreciated. 回答1: Run the setup script from here then restart and install with pip install django . 来源: https://stackoverflow.com/questions

Why do I get an error on the last line of installing Pylons 1.0 with easy_install and Python 2.7 in Windows Vista 64?

情到浓时终转凉″ 提交于 2019-12-22 10:54:34
问题 I tried to install Pylons 1.0 with Python 2.7 using the easy_install command in Windows Vista 64 but got the error: raise ValueError(str(list(result.keys()))) ValueError: [u'path'] Here is the link to the whole installation process from command prompt http://pastie.org/1190341 Why do I get this error? How do I solve it? Will Pylons work even though I got this error? 回答1: From the error: File "C:\Python27\Lib\distutils\msvc9compiler.py", line 295, in q uery_vcvarsall raise ValueError(str(list

Pip or easy_install with Python 3.x explode when installing anything using mingw

廉价感情. 提交于 2019-12-22 08:34:56
问题 I had the vcvarsall.bat problem, so I followed the directions here How to use MinGW's gcc compiler when installing Python package using Pip? . Now, when using pip install lxml with Python 3.2.2 on Windows 7 I get the following error: C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python32\include -IC:\Pytho n32\PC -c src/lxml/lxml.etree.c -o build\temp.win32-3.2\Release\src\lxml\lxml.et ree.o -w cc1.exe: error: unrecognized command line option '-mno-cygwin' error: command 'gcc' failed

python easy_install: specify directory housing required files

只愿长相守 提交于 2019-12-22 08:10:13
问题 I'm trying to use easy_install to install MySQL-python. It fails almost immediately: _mysql.c:36:23: error: my_config.h: No such file or directory _mysql.c:38:19: error: mysql.h: No such file or directory _mysql.c:39:26: error: mysqld_error.h: No such file or directory _mysql.c:40:20: error: errmsg.h: No such file or directory It can't find the headers. I have the headers installed, they're just installed from source in /opt. It's obviously not looking there. How do I make it look there? For

ImportError: Entry point ('console_scripts', 'easy_install') not found

拜拜、爱过 提交于 2019-12-22 06:32:50
问题 I'm trying to install a package and one of the instructions is the following, but I get an error. easy_install -U distribute pip Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/easy_install", line 9, in <module> load_entry_point('distribute', 'console_scripts', 'easy_install')() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.4.1-py2.7.egg/pkg_resources.py", line 351, in load_entry_point return get

What is the alternative to using --process-dependency-links with pip

不羁的心 提交于 2019-12-21 07:21:11
问题 I am using Python 2.7. I am trying to pip install a repo (on internal github) that has a dependency on another repo (also on internal github). I tried several options but the one that worked was like this: (env)abc$ cat requirements.txt -e git://github.abc.com/abc/abc.git#egg=my_abc --process-dependency-links (env)abc$ pip install -r requirements.txt But I got a warning while running the command line that said: "DEPRECATION: Dependency Links processing has been deprecated and will be removed