Je suis en train d'installer sur virtualenvwrapper CentOS 6.7 release (Final) en utilisant python 2.6.6 via pépin:python virtualenvwrapper TypeError: __init __() a obtenu un argument mot-clé inattendu 'flux'
sudo pip install virtualenvwrapper
j'exécuté ces derniers pour ajouter à .bashrc WORKON_HOME:
echo "export WORKON_HOME=~/Env" >> ~/.bashrc
echo "source /usr/bin/virtualenvwrapper.sh" >> ~/.bashrc
Lorsque je tente d'initialiser virtualenvwrapper avec e est:
source ~/.bashrc
J'ai cette erreur:
Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/lib/python2.6/site-packages/virtualenvwrapper/hook_loader.py", line 223, in <module>
main()
File "/usr/lib/python2.6/site-packages/virtualenvwrapper/hook_loader.py", line 101, in main
console = logging.StreamHandler(stream=sys.stderr)
TypeError: __init__() got an unexpected keyword argument 'stream'
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.
J'ai découvert here que ce problème a été résolu, mais le correctif est pas encore sorti, maintenant je demande, est-il un moyen de le réparer manuellement?