CentOSにpythonのvirtualenvを入れるメモ
CentOS6でvirtualenvとPython Fabricを使いたかったのでインストールメモ。
[idempiere@localhost ~]$ cat /etc/redhat-release CentOS release 6.7 (Final) $ python -V Python 2.6.6
yum install virtualenv
で何も見つからなかった。
pip
pipが入っていないので入れる。
wget https://bootstrap.pypa.io/get-pip.py python get-pip.py
curl -kL https://bootstrap.pypa.io/get-pip.py | python
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
virtualenv
pip install virtualenv
cd mkdir .virtualenvs cd .virtualenvs virtualenv kuenv source kuenv/bin/activate
fabric
pip install fabric
エラー
Failed building wheel for pycrypto Running setup.py clean for pycrypto Failed to build pycrypto
Failed to install Python Cryptography package with PIP and setup.py - Stack Overflow
yum install gcc libffi-devel python-devel openssl-devel pip install cryptography pip install fabric