As root:
ln -sf /usr/bin/python2.6 /usr/local/bin/python
This will make a symbolic link from /usr/local/bin/python –> /usr/bin/python2.6
(replacing the old hardlink).
More Related Contents:
- Python returns "SyntaxError: invalid syntax sys module" [closed]
- ImageMagick not authorized to convert PDF to an image
- Take a screenshot via a Python script on Linux
- Pycharm and sys.argv arguments
- Install tkinter for Python
- Pass input/variables to command/script over SSH using Python Paramiko
- os.makedirs doesn’t understand “~” in my path
- What is the simplest way to SSH using Python?
- What do I need to read Microsoft Access databases using Python?
- How to activate virtualenv in Linux?
- How do I tell a Python script to use a particular version
- standard_init_linux.go:178: exec user process caused “exec format error”
- Cross-platform subprocess with hidden window
- Python virtualenv questions
- How do I get monotonic time durations in python?
- Checking a Python module version at runtime
- Get total physical memory in Python
- How to get output from subprocess.Popen(). proc.stdout.readline() blocks, no data prints out
- How to: Macports select python
- ‘yes’ reporting error with subprocess communicate()
- Unable to install pyodbc on Linux
- How to do sed like text replace with python?
- System-wide mutex in Python on Linux
- Listing available devices in python-opencv
- Cron job: how to run a script that requires to open display?
- What is different between makedirs and mkdir of os?
- Equivalent to GetTickCount() on Linux
- How can I “watch” a file for modification / change? [duplicate]
- run a python script in terminal without the python command
- How to install and import Python modules at runtime