python install question
The existing python 2 in installed in /usr (/usr/bin, /usr/lib).
Python 3 tarball defaults are set to install in /usr/local (/usr/local/bin, /usr/local/lib) If I install python 3 and keep the original python 2, will there be problems between them? |
|
I wouldn't suggest installing python3 from source directly to /usr/local/bin, since it can be difficult to get rid of it afterwards (Is there a easy way to update / install?) I'd suggest prefixing it with a specific install location (like /opt). Alternatively, Anaconda is good for getting python.
Anyways, if you examine several scripts in /usr/bin and /usr/local/bin you will notice hashbangs of mostly this sort (This is on Linux Mint Cinnamon) Code:
#!/usr/bin/python Code:
#!/usr/bin/env python |
All times are GMT -5. The time now is 11:05 AM. |