easy-install

What keyword arguments does setuptools.setup() accept?

What keyword arguments does setuptools.setup() accept? Question: What is the full list of keyword arguments that the setuptools.setup() function accepts? (Please include a description of what each argument means, if possible.) I have looked all over the web and I can’t believe this isn’t documented. I found these documents: https://docs.python.org/3.7/distutils/setupscript.html#additional-meta-data https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords But even when I …

Total answers: 1

Why are all Python packages suddenly gone?

Why are all Python packages suddenly gone? Question: Today I wanted to run a (self written) Python script on my OSX laptop, but all of a sudden, all the imports returned an ImportError. The script was running fine about a month ago and in the meantime I didn’t change anything to Python. Furthermore I’m sure …

Total answers: 2

pip broken after upgrading

pip broken after upgrading Question: I did pip install -U easyinstall, and then pip install -U pip to upgrade my pip. However, I get this error now when trying to use pip: root@d8fb98fc3a66:/# which pip /usr/local/bin/pip root@d8fb98fc3a66:/# pip bash: /usr/bin/pip: No such file or directory This is on an ubuntu 12.04 in a docker image. …

Total answers: 2

How to pip or easy_install tkinter on Windows

How to pip or easy_install tkinter on Windows Question: 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. …

Total answers: 14

ImportError: No module named Crypto.Cipher

ImportError: No module named Crypto.Cipher Question: When I try to run app.py (Python 3.3, PyCrypto 2.6) my virtualenv keeps returning the error listed above. My import statement is just from Crypto.Cipher import AES. I looked for duplicates and you might say that there are some, but I tried the solutions (although most are not even …

Total answers: 33

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

Can pip (or setuptools, distribute etc…) list the license used by each installed package? Question: 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 …

Total answers: 12

pip/easy_install failure: failed to create process

pip/easy_install failure: failed to create process Question: After following this article: How do I install pip on Windows? on my Windows system using Enthought Canopy 64 Bit system, I cannot get pip or easy_install to work due to error: pip install requests failed to create process I tried re-installing setuptools, running cmd prompt as admin …

Total answers: 14

setup.py: restrict the allowable version of the python interpreter

setup.py: restrict the allowable version of the python interpreter Question: I have a Python library. Unfortunately I have not updated it to work with Python 3 yet. In its setup.py, I added install_requires=[‘python<3′], My intent was to not allow this package to be installed/used under Python 3, because I know it doesn’t (yet) work. I …

Total answers: 3

pip ignores dependency_links in setup.py

pip ignores dependency_links in setup.py Question: I have dependency_links in my setup.py: … dependency_links = [‘http://github.com/robot-republic/python-s3/tarball/master.tar.gz#egg=python-s3′], … But it doesn’t work. However install_requires works fine. Maybe there are another method to set up git repo as required for setup.py? Asked By: syabro || Source Answers: This answer should help. In a nutshell, you need to …

Total answers: 6

How to fix Python Numpy/Pandas installation?

How to fix Python Numpy/Pandas installation? Question: 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 –dist-dir /tmp/easy_install-ckAMym/pandas-0.8.1/egg-dist-tmp-0mlL7t …

Total answers: 10