3

Ubuntu 18.04 LTS

I'm trying to allow users to create their own virutalenv for python3, however when trying to create said environment using a standard user account with this command:$ python3 -m venv ~/path/to/venv

I get this error: Error: [Errno 13] Permission denied: '~/path/to/venv'

~/path/to/venv is already created and is owned by the standard user. The permissions are 775. How do I fix this?

ankostis
  • 239
Jon
  • 53

2 Answers2

2

try and run sudo python3 -m venv ~/path/to/venv.

sudo in Linux environment means super user do which basically means that you are giving a command with super user access.

Rohit Rawat
  • 121
  • 2
0

The problem mysteriously resolved itself. Any user is able to create a virtual environment now after no apparent change.

Jon
  • 53