Permission denied when activating venv

前端 未结 5 1512
臣服心动
臣服心动 2021-01-30 06:25

I just started a new python project and created a venv inside the project folder by running virtualenv venv in the terminal. However, when I run venv/bin/acti

5条回答
  •  鱼传尺愫
    2021-01-30 06:51

    Basically, it's looking for permission to execute activate on the created folder path.

    On the root give below permissions command on the desired path where activate is located

    sudo chmod -R 755 ~/tensorflow/* # or whatever the target structure 
    

    This will extend all the permissions including Read/Write/Execute and group

    then execute ~/bin/activate

提交回复
热议问题