Is this a linux or a virtualenv error?

2019-09-25 09:00发布

I asked this question 4 days ago.

Now, when I open a terminal, I see this:

enter image description here

and this:

enter image description here

Is it related to the initial problem i had, or it a python and virtualenv issue?

2条回答
叼着烟拽天下
2楼-- · 2019-09-25 09:22

Stop using su and sudo to run virtualenv. You need to run virtualenv as your normal user. You have created the virtualenv with sudo which is why you are getting these errors.

查看更多
虎瘦雄心在
3楼-- · 2019-09-25 09:37

Did you try to just give the write permission for you on the virtualenv private dir?

chmod +w -R ~/.virtualenv

That should resolve the Permission Denied issue.

查看更多
登录 后发表回答