我有一个openshift应用程序,我需要使用需要APScheduler
包的six==1.9.0
包。
如果我pip install six==1.9.0
我得到:
Collecting six==1.9.0
Downloading six-1.9.0-py2.py3-none-any.wh
Installing collected packages: six
Found existing installation: six 1.3.0
Not uninstalling six at /opt/rh/python33/root/usr/lib/python3.3/site-packages, outside environment /var/lib/openshift/5764a66a0c1e66c49700006b/python/virtenv/venv
Successfully installed six-1.3.0
所以它不是安装我需要的版本。我试图卸载pip uninstall six==1.3.0
,但我明白了:
Not uninstalling six at /opt/rh/python33/root/usr/lib/python3.3/site-packages, outside environment /var/lib/openshift/5764a66a0c1e66c49700006b/python/virtenv/venv
我也尝试用sudo
来做,但我已经读过在openshift应用程序中无法执行sudo
命令。
有什么想法吗?