10
rated 0 times
[
10]
[
0]
/ answers: 1 / hits: 10514
/ 2 Years ago, fri, march 25, 2022, 10:21:15
Unfortunately I deleted the /usr/bin/python
in my ubuntu 12.04
I went to /usr/bin/ and run
ls -al
then I got
lrwxrwxrwx 1 root root 64 Jul 13 14:58 python -> /Library/Frameworks/Python.framework/Versions/Current/bin/python
How do I link that python so that I can get python in terminal on running python
I also reinstalled python by
apt-get --purge --reinstall install python
I tried adding sym link like
ln -s /usr/lib/python2.7/ /usr/bin/python
then it thrown in ln: failed to create symbolic link
/usr/bin/python': File exists`
More From » command-line