激活虚拟环境中的缺席

时间:2018-10-05 23:24:56

标签: python virtualenv

我想启动一个虚拟环境来下载库:a tutorial on image to text recognition之后是workon cv的cv。然而,当它创建时似乎很奇怪:

mike@mike-Inspiron-3543:~/Documents/programming/useful/extractText$ python -m virtualenv env
Using base prefix '/home/mike/anaconda3'
New python executable in /home/mike/Documents/programming/useful/extractText/env/bin/python
/home/mike/Documents/programming/useful/extractText/env/bin/python: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
ERROR: The executable /home/mike/Documents/programming/useful/extractText/env/bin/python is not functioning
ERROR: It thinks sys.prefix is '/home/mike/Documents/programming/useful/extractText' (should be '/home/mike/Documents/programming/useful/extractText/env')
ERROR: virtualenv is not compatible with this system or executable

创建它后,我无法激活任何东西,因为我缺少做activate的{​​{1}}事情:

source env/bin/activate

这是我的python版本。看起来很奇怪:

mike@mike-Inspiron-3543:~/Documents/programming/useful/extractText/env/bin$ ls
python  python3  python3.6

0 个答案:

没有答案