Solution for Virtualenv Error : ‘Unable to Execute bla bla Permission Denied ‘

So I got this error when creating a virtualenv on a different partition other than my /home folder.

ERROR: The executable myenv/bin/python3.4 could not be run: [Errno 13] Permission denied

Turns out this problem related to the default permission when creating a partition which didn’t enable exec option on my partition. So, I enable the exec option by editing /etc/fstab .

# Entry for /dev/sda7 :
/dev/sda7 /media/sda7 ext4 user 1 2


# Entry for /dev/sda7 :
/dev/sda7 /media/sda7 ext4 user,exec 1 2

Note the addition of ‘exec’.

strange permissions problems for virtualenv python executable (lubuntu-12.10) | StackOverFlow


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s