[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] The `plugin_env` should be an ``Environment`` instance that c
From: |
Nilesh |
Subject: |
[Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')) |
Date: |
Wed, 28 Sep 2011 09:26:11 -0700 |
On a freshly installed ubuntu LTS 10.04.3 server I am getting errors
and I would appreciate help in understanding how to resolve. Thanks
and much appreciated.
Steps I took are described below.
sudo apt-get install python-setuptools
sudo easy_install pip
sudo pip install virtualenv virtualenvwrapper
mkdir ~/domains
append below three lines to ~/.bashrc
export WORKON_HOME=$HOME/domains
source /usr/local/bin/virtualenvwrapper.sh
export PIP_VIRTUALENV_BASE=$WORKON_HOME
exit and restart shell
mkvirtualenv w
cd ~/domains/w
(w)address@hidden:~/domains/w$ pip install fabric
Downloading/unpacking fabric
Downloading Fabric-1.2.2.tar.gz (155Kb): 155Kb downloaded
Running setup.py egg_info for package fabric
warning: no previously-included files matching '*' found under
directory 'docs/_build'
warning: no files found matching 'fabfile.py'
Requirement already satisfied (use --upgrade to upgrade):
pycrypto>=1.9 in /usr/lib/python2.6/dist-packages (from fabric)
Downloading/unpacking paramiko>=1.7.6 (from fabric)
Downloading paramiko-1.7.7.1.zip (1.1Mb): 1.1Mb downloaded
Running setup.py egg_info for package paramiko
Installing collected packages: fabric, paramiko
Running setup.py install for fabric
warning: no previously-included files matching '*' found under
directory 'docs/_build'
warning: no files found matching 'fabfile.py'
Installing fab script to /home/nilesh/domains/w/bin
Running setup.py install for paramiko
Successfully installed fabric paramiko
Cleaning up...
(w)address@hidden:~/domains/w$ fab
Traceback (most recent call last):
File "/home/nilesh/domains/w/bin/fab", line 5, in <module>
from pkg_resources import load_entry_point
File
"/home/nilesh/domains/w/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
line 2607, in <module>
comment-only lines. If there are any such lines before the first section
File
"/home/nilesh/domains/w/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py",
line 569, in resolve
The `plugin_env` should be an ``Environment`` instance that contains
pkg_resources.VersionConflict: (pycrypto 2.0.1
(/usr/lib/python2.6/dist-packages),
Requirement.parse('pycrypto>=2.1'))
- [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')),
Nilesh <=
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Jeff Forcier, 2011/09/28
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Nilesh, 2011/09/30
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Jeff Forcier, 2011/09/28
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Nilesh, 2011/09/28
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Jeff Forcier, 2011/09/28
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Nilesh, 2011/09/28
- Re: [Fab-user] The `plugin_env` should be an ``Environment`` instance that contains pkg_resources.VersionConflict: (pycrypto 2.0.1 (/usr/lib/python2.6/dist-packages), Requirement.parse('pycrypto>=2.1')), Jeff Forcier, 2011/09/28