easy-install

How to use Python's “easy_install” on Windows … it's not so easy

℡╲_俬逩灬. 提交于 2019-11-28 04:37:15
After installing Python 2.7 on Windows XP, then manually setting the %PATH% to python.exe (why won't the python installer do this?), then installing setuptools 0.6c11 (why doesn't the python installer do this?), then manually setting the %PATH% to easy_install.exe (why doesn't the installer do this?), I finally tried to install a python package with easy_install , but easy_install failed when it couldn't install the pywin32 package, which is a dependency. How can I make easy_install work properly on Windows XP? The failure follows: C:\>easy_install winpexpect Searching for winpexpect Best

virtualenv, mysql-python, pip: anyone know how? [duplicate]

主宰稳场 提交于 2019-11-28 03:07:55
This question already has an answer here: pip install mysql-python fails with EnvironmentError: mysql_config not found 20 answers I'm trying to install the mysql bindings in a virtualenv. I'd prefer to use pip or easy_install. pip gives me the following error: File "setup_posix.py", line 24, in mysql_config raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found easy_install either gets a 404 from sourceforge or gives me a very similar error. Does anyone know how to get around this in a virtualenv? I'm also trying to setup MySQL bindings in a

python easy_install fails with SSL certificate error for all packages

只愿长相守 提交于 2019-11-28 03:07:52
问题 Goal: I'm on RedHat 5 and trying to install the latest python and django for a web app. I successfully altinstalled python27 and easy_install, and wget with openssl. Problem: However now that I try to get anything from pypi.python.org I get the following error: $ sudo easy_install --verbose django Searching for django Reading https://pypi.python.org/simple/django/ Download error on https://pypi.python.org/simple/django/: [Errno 1] _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER

mysql-python on mac os 10.9.1

女生的网名这么多〃 提交于 2019-11-28 01:57:02
问题 I can't seem to be able to install mysql-python on 10.9.1. I suspect it has something to do with latest command line tools update but I'm no expert: Running MySQL-python-1.2.5/setup.py -q bdist_egg --dist-dir /var/folders/s7/j138zlt172nf6qqpn98rhzhm0000gn/T/easy_install-kq86vo/MySQL-python-1.2.5/egg-dist-tmp-edndmM clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning)

pip install test dependencies for tox from setup.py

情到浓时终转凉″ 提交于 2019-11-27 23:23:58
问题 I made my project with setuptools and I want to test it with tox . I listed dependencies in a variable and added to setup() parameter ( tests_require and extras_require ). My project needs to install all of the dependencies listed in tests_require to test but pip install is not installing them. I tried this but it did not work: install_command = pip install {opts} {packages}[tests] How can I install test dependencies without having to manage multiple dependency lists (i.e. Having all

easy_install cx_Oracle (python package) on Windows

佐手、 提交于 2019-11-27 22:56:56
So I found Help installing cx_Oracle but am still stuck. I downloaded the latest instantclient from oracle, and set ORACLE_HOME to the location of the extracted files (both direct and with a bin folder between the ORACLE_HOME value and the files), but easy_install is popping an error when running setup.py saying it can't locate the Oracle include files. I did notice that only the 11g dll is in the folder, do I need all 3 drivers present for setup to complete? If so, where do I even get them? Christian Witts Honestly it is a hell of a lot easier to install cx_Oracle from one of the binary

Installing Python's easy_install using ez_setup.py from behind a proxy server

我是研究僧i 提交于 2019-11-27 21:21:35
问题 Is there a way to install Python's easy_install using ez_setup.py when on a corporate network that uses a proxy server? Currently, I receive a connection timeout: Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg Traceback (most recent call last): File "C:\jsears\python\ez_setup.py", line 278, in <module> main(sys.argv[1:]) File "C:\jsears\python\ez_setup.py", line 210, in main egg = download_setuptools(version, delay=0) File "C:\jsears\python\ez_setup

Unable to install pip: Permission denied error

左心房为你撑大大i 提交于 2019-11-27 20:55:07
I am trying to install pip but currently unable to. I navigate to the pip folder and python setup.py install Everything seems to go fine until the very end: Extracting pip-0.8.2-py2.6.egg to /Library/Python/2.6/site-packages Adding pip 0.8.2 to easy-install.pth file Installing pip script to /usr/local/bin error: /usr/local/bin/pip: Permission denied I've also tried easy_install . and attempted to refer to the related thread with no luck: Python install uninstall easy_install Any ideas? Looks like you're on an Linux/Unix box and you're not root ... which means you don't have permission to put

Can pip (or setuptools, distribute etc…) list the license used by each installed package?

末鹿安然 提交于 2019-11-27 20:17:12
问题 I'm trying to audit a Python project with a large number of dependencies and while I can manually look up each project's homepage/license terms, it seems like most OSS packages should already contain the license name and version in their metadata. Unfortunately I can't find any options in pip or easy_install to list more than the package name and installed version (via pip freeze). Does anyone have pointers to a tool to list license metadata for Python packages? 回答1: You can use pkg_resources

How to pip or easy_install tkinter on Windows

旧城冷巷雨未停 提交于 2019-11-27 17:46:43
My Idle is throwing errors that and says tkinter can't be imported. Is there a simple way to install tkinter via pip or easy_install ? There seem to be a lot of package names flying around for this... This and other assorted variations with tkinter-pypy aren't working. pip install python-tk I'm on Windows with Python 2.7 and can't apt-get . Thanks. LotusUNSW Well i can see two solutions here: 1) Follow the Docs-Tkinter install for Python ( for Windows ): Tkinter (and, since Python 3.1, ttk) are included with all standard Python distributions. It is important that you use a version of Python