easy-install

How can pip be installed locally for use with Python 2.7?

点点圈 提交于 2019-12-10 12:07:53
问题 I want to install pip locally together with a local install of Python 2.7. I am using an EPEL6 system on which I am not root. I have easy_install available on the system by default (no pip or virtualenv to begin with). I have managed to install pip and Python 2.7, but I don't know how to proceed to get pip working with the Python 2.7 install (as opposed to Python 2.6). cd mkdir local_test cd local_test wget https://www.python.org/ftp/python/2.6/Python-2.6.tgz tar -xvf Python-2.6.tgz cd Python

Should Python 2.6 on OS X deal with multiple easy-install.pth files in $PYTHONPATH?

回眸只為那壹抹淺笑 提交于 2019-12-10 11:24:34
问题 I am running ipython from sage and also am using some packages that aren't in sage (lxml, argparse) which are installed in my home directory. I have therefore ended up with a $PYTHONPATH of $HOME/sage/local/lib/python:$HOME/lib/python Python is reading and processing the first easy-install.pth it finds ($HOME/sage/local/lib/python/site-packages/easy-install.pth) but not the second, so eggs installed in $HOME/lib/python aren't added to the path. On reading the off-the-shelf site.py, I cannot

No package installer with python 3.3?

故事扮演 提交于 2019-12-10 10:47:15
问题 I just downloaded installed python 3.3 for Mac OS. I used the standard package from python.org I found no package installing tool in python 3.3. No pip, easy_install, setuptools. Looks like a boot strap problem: how can I install a package-installing-package without a package-installing-package? I'm I missing something obvious? Or do I need to take further steps in order to have a package installer? 回答1: Distribute supplies an installer script, distribute_setup.py . So, on Unix-y systems with

'easy_install' is not recognized as an in internal or external command, operable program or batch file

拟墨画扇 提交于 2019-12-10 02:19:09
问题 I have just downloaded and installed the latest version of Python on my Windows 7 machine. Python 2.7.3 Now I want to install a Twitter library I found online: However when I try to run easy_install tweepy , I get this error message: 'easy_install' is not recognized as an in internal or external command, operable program or batch file. Python has already been placed into my path, as I can invoke the Python program into the command line. Here is a screenshot of my folder where Python is

Python - Is there any way to get pip without setuptools?

烂漫一生 提交于 2019-12-09 17:29:54
问题 Seems kinda weird that they'd require a package manager to install a package manager. I'm on Windows BTW. 回答1: Pip does require setuptools. Pip is really just a wrapper around setuptools to provide a better installer than easy_install and some nicer installation behaviors, plus uninstall, requirements files, etc. Even if you somehow got pip installed without setuptools it still won't run without it. 回答2: You can use Distribute instead of setuptools : it installs a package called setuptools

How do I forbid easy_install from zipping eggs?

♀尐吖头ヾ 提交于 2019-12-09 15:30:34
问题 What must I put into distutils.cfg to prevent easy_install from ever installing a zipped egg? The compression is a nice thought, but I like to be able to grep through and debug that code. I pulled in some dependencies with python setup.py develop . A closer look reveals that also accepts the --always-unzip flag. It would just be nice to set that as default. 回答1: the option is zip-ok, so put the following in your distutils.cfg: [easy_install] # i don't like having zipped files. zip_ok = 0 回答2:

Installing pip on macOS does not work (anymore)

我们两清 提交于 2019-12-09 15:17:54
问题 I followed online instructions on how to install pip on macOS (for example this, this, and this). I all seems to simple, but it's not working for me. My python --version is 2.7.10. When I run sudo easy_install pip I get: $ sudo easy_install pip Password: Searching for pip Reading http://pypi.python.org/simple/pip/ Couldn't find index page for 'pip' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download

gsl error while Installing mlpy [closed]

旧街凉风 提交于 2019-12-08 17:11:31
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I'm trying to install mlpy and I get the following error. I don't know where to start. Does someone have any clue? $ sudo easy_install mlpy-3.5.0.tar.gz Password: install_dir /Library/Frameworks/Python.framework

Unable to Install with easy_install or pip on mac

核能气质少年 提交于 2019-12-08 06:22:41
问题 I'm trying to install lxml and pycrypto modules using easy_install (and pip) but getting error messages like Running lxml-2.3.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kGsWMh/lxml-2.3.4/egg-dist-tmp-Gjqy3f Building lxml version 2.3.4. Building without Cython. Using build configuration of libxslt 1.1.24 In file included from /usr/include/limits.h:63, from /Developer/usr/bin/../lib/gcc/powerpc-apple-darwin10/4.0.1/include/limits.h:10, from /Library/Frameworks/Python.framework

Python 3.2.3, easy_install, Mac OS X

我们两清 提交于 2019-12-08 02:11:48
问题 I am a windows 7 user, so pardon me for my ignorance. I have been trying to help my friend get easy_install working on her Mac OS X laptop. We managed to get everything working for 2.7 with these commands in the terminal: python distribute_setup.py (which installs "distribute") easy_install We tried the same thing for Python 3.2.3: python3.2 distribute_setup.py easy_install But the package gets installed for python 2.7 instead of 3.2.3. From what I know, this is because easy_install only