AWS Cloud9: Python virtual environment is not actually activated. Uses system-wide python

馋奶兔 提交于 2020-01-03 16:22:46

问题


Just starting out with AWS Cloud9. Started a new project (Django with Beanstalk).

Opened Cloud9 environment, typed in virtualenv --python=/usr/bin/python3.6 venv

then, when i type: sourse venv/bin/activate

i see: (venv) USERNAME:$

So, it looks ok, but python --version gives me 2.7.

Even more, when I install packages with "activated" virtual environment I get them installed in system-wide python 2.7.

来源:https://stackoverflow.com/questions/52108586/aws-cloud9-python-virtual-environment-is-not-actually-activated-uses-system-wi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!