Kevin
Kevin

Reputation: 447

Update Python path

Enthought is installed on my second HD at /media/linux/applications/epd, which was not auto-mounted. I ran:

sudo mkdir /media/linux
sudo chown -R kevin: /media/linux

and edited /etc/fstab to point /media/linux to sdb2:

UUID="d18ded1f-3d74-420d-ab95-51c52f5169b4" /media/linux ext4 defaults,users,auto 0 2

Now the drive mounts on boot, but "which python" points to the incorrect python (/usr/bin/python2.7)

I tried

sudo rm /usr/bin/python
sudo ln -s /media/linux/applications/epd/bin/python2.7 /usr/bin/python

which results in a permission error when I try to launch:

bash: /media/linux/applications/epd/bin/python: Permission denied

"which python" does not return anything. I appreciate the help!

Upvotes: 1

Views: 562

Answers (1)

schaiba
schaiba

Reputation: 362

I'd suggest you repeat the chown command now, after sdb2 is mounted on /media/linux .

Upvotes: 1

Related Questions