protocol error setting up virtualenvironment through vagrant on ubuntu

前端 未结 6 2188
广开言路
广开言路 2020-12-15 20:14

I\'m trying to set up a virtualenv on Ubuntu 12.04 with Python 2.7 using vagrant but having same issues. it seems like this issues is seen only when \"vagrant up\" is issued

6条回答
  •  情深已故
    2020-12-15 20:23

    This error can be fixed if you create the virtual env outside the /vagrant/ shared folder...

    If go to the home folder of your vagrant user, you can create the virtualenv in there without this problem!

    Just the venv must be out of this /vagrant/ directory... after that you can go work as usually activating this venv and working with your sorce code in the usual /vagrat/ shared dir...

提交回复
热议问题