easy-install

How to install virtualenv without using sudo?

杀马特。学长 韩版系。学妹 提交于 2019-12-17 08:24:25
问题 I have easy_install and pip . I had many errors on my Linux Mint 12 , I just re-installed it and I want to install everything from scratch again. This is one of the errors that I had. I received an interesting answer there: Stop using su and sudo to run virtualenv. You need to run virtualenv as your normal user. You have created the virtualenv with sudo which is why you are getting these errors. So how to install virtualenv without using sudo ? Can i use pip or easy_install without using sudo

How to install virtualenv without using sudo?

送分小仙女□ 提交于 2019-12-17 08:24:06
问题 I have easy_install and pip . I had many errors on my Linux Mint 12 , I just re-installed it and I want to install everything from scratch again. This is one of the errors that I had. I received an interesting answer there: Stop using su and sudo to run virtualenv. You need to run virtualenv as your normal user. You have created the virtualenv with sudo which is why you are getting these errors. So how to install virtualenv without using sudo ? Can i use pip or easy_install without using sudo

How do I remove packages installed with Python's easy_install?

我只是一个虾纸丫 提交于 2019-12-17 01:19:10
问题 Python's easy_install makes installing new packages extremely convenient. However, as far as I can tell, it doesn't implement the other common features of a dependency manager - listing and removing installed packages. What is the best way of finding out what's installed, and what is the preferred way of removing installed packages? Are there any files that need to be updated if I remove packages manually (e.g. by rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg or similar)? 回答1

“pkg_resources.DistributionNotFound” at pip and easy install

我只是一个虾纸丫 提交于 2019-12-13 00:16:51
问题 I have to install a package via pip (in detail: the package lxml) into Python2.7 on our server (running on ScientificLinux). There is running Python 2.6 and 2.7. The command pip points to our Python2.6 installation where the package already exists. When I try to run pip-2.7, he is throwing the following errors: Traceback (most recent call last): File "/usr/local/bin/pip-2.7", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/site-packages/pkg_resources.py

Why does easy install want access to my rootfs for a “develop” install?

China☆狼群 提交于 2019-12-12 21:14:47
问题 I'm looking at a python application server and I wanted to play around with the code. I'm lead to believe passing "develop" to setup.py should leave everything in place without installing anything. However when running so it is attempting to creating directories in my rootfs. ./setup.py develop Gives: running develop Checking .pth file support in /usr/local/lib/python2.7/dist-packages/ error: can't create or remove files in install directory I thought this might be something to do with

Python virtual environment package install issue

旧时模样 提交于 2019-12-12 21:12:27
问题 I'm building a Python project requiring Django. I have created a project directory and virtual environment using virtualenv. But I can't install django using PIP and I have to use easy_install in order to install it into the virtual environment. Note - I only have this problem with Django. I am able to successfully install other packages into the virtual environment using PIP without issues. I'm running the following sequence... cd projectfolder virtualenv venv venv\Scripts\activate pip

Adding libraries to portable python

僤鯓⒐⒋嵵緔 提交于 2019-12-12 18:05:57
问题 So I'm currently using portable python and I need to add the neurolab library. On command line I tried moving to the scripts directory and running easy_install.exe neurolab Then another command line window opens and it's found the neurolab project on google code and its listing files. Then it zips through a ton of lines and the window closes. However neurolab isn't added to my portable python... Any help would be much appreciated 回答1: This looks like pure Python library. If that is the case

How to unzip python eggs?

若如初见. 提交于 2019-12-12 14:01:24
问题 I'm trying to bundle some egg dependencies when using py2exe and as stated on the py2exe site, it doesn't work with those and I need to unzip them first. I've tried to first run easy_install -m lxml and then easy_install --always-unzip lxml==2.2.2 , but it didn't work. Then I tried to set the unzipping behaviour to default by putting it to distutils.cfg . I didn't find the latter file, so I've made the HOME environment variable and created a pydistutils.cfg file there with this content: [easy

Easy_install's --prefix option doesn't change where it tries to install my package

别来无恙 提交于 2019-12-12 12:05:28
问题 I want to install Sphinx 1.1.3 for python 2.6. However, I don't have sudo rights. So instead of installing it in the default place, I want to set a different location, using --prefix. Doing the following: -bash-3.2$ easy_install Sphinx-1.1.3-py2.6.egg --prefix=/homes/ndeklein/python2.6/site-packages/ gives me: error: can't create or remove files in install directory The following error occurred while trying to add or remove files in the installation directory: [Errno 13] Permission denied: '

sudo required for easy_install pip in OS X Lion?

早过忘川 提交于 2019-12-12 08:48:19
问题 I'm coming from Snow Leopard at work to a Lion installation at home. I do NOT remember having to: sudo easy_install pip Is that required for Lion? I got errors until I did that, and pip ended up here: [ some@computer ] ~ $ which pip /usr/local/bin//pip Does this mean that I'm going to have to sudo pip install other packages? e.g.: sudo pip install virtualenv sudo pip install virtualenvwrapper I should also note that I'm running XCode 4.3 with the new separate install of the command line tools