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 .
Before

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

After

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

Note the addition of ‘exec’.

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

Advertisements

Tags: ,

About Ferry T.H.

I'm just your fellow human being.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: