If you are using virtualenvwrapper then you can recreate the virtualenv on top of the existing one (with no environment currently active):
mkvirtualenv <existing name>
which should pull in the latest (upgraded) python version from the system and fix any mismatch errors.
More Related Contents:
- How to install python3 version of package via pip on Ubuntu?
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”
- How to tell if tensorflow is using gpu acceleration from inside python shell?
- How to install lxml on Ubuntu
- Renaming a virtualenv folder without breaking it
- Error while importing Tensorflow in Python 2.7 in Ubuntu 12.04. ‘GLIBC_2.17 not found’
- Run Python script at startup in Ubuntu
- Unable to set default python version to python3 in ubuntu
- How to Run Python Code on SublimeREPL
- How would I build python myself from source code on Ubuntu?
- Python: Unable to Render Tex in Matplotlib
- Unable to install Python packages using pip in Ubuntu Linux: InsecurePlatformWarning, SSLError, tlsv1 alert protocol version
- How to upgrade Python version to 3.7? [closed]
- WARNING: Running pip as the ‘root’ user
- How do I ‘lock the keyboard’ to prevent any more keypresses being sent on X11/Linux/Gnome?
- Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding, when trying to start uwsgi
- I have Python on my Ubuntu system, but gcc can’t find Python.h
- Uninstall python built from source?
- Flask broken pipe with requests
- Installing OpenCV for Python on Ubuntu, getting ImportError: No module named cv2.cv
- ImportError: No module named bz2 for Python 2.7.2
- How to find which version of TensorFlow is installed in my system?
- Cannot open new Jupyter Notebook [Permission Denied]
- Could not find a version that satisfies the requirement for select requirements
- Ubuntu 20.04 upgrade, Python missing libffi.so.6
- python_2_unicode_compatible error
- The ‘pip==7.1.0’ distribution was not found and is required by the application
- what is the codec for mp4 videos in python OpenCV
- Execute a command on Remote Machine in Python