Why is my pip braking after updating
pip
authors were warning for many years to not import pip
. Finally at version 10 they restructured their code.
Your /usr/bin/pip
was not upgraded (probably because pip install -U pip
installed new /usr/local/bin/pip
) so it uses the old API before renaming.
If that's the case I recommend to put /usr/local/bin
before /usr/bin
in $PATH
.
Unable to run NanoPlot due to import error from Scipy
UPDATE: RESOLVED!
I uninstalled scipy using sudo apt-get autoremove python3-scipy
Also did a purge to check if any config files remained sudo apt-get purge python3-scipy
Reinstalled scipy using pip3 install --user scipy
Did an update sudo apt-get update
Uninstalled Nanoplot pip3 uninstall NanoPlot
Installed it back pip3 install NanoPlot
Did an upgrade pip3 install NanoPlot --upgrade
Tested a code NanoPlot -h
Worked!
Related Topics
How to Validate a Url with a Regular Expression in Python
How to Use the Same Python Virtualenv on Both Windows and Linux
Priority of the Logical Operators Not, And, or in Python
How to Use Subprocess Popen Python
What Is the Purpose of Class Methods
How to Bypass the Google Captcha with Selenium and Python
How to Find Script's Directory
What Does the Caret (^) Operator Do
Too Many Values to Unpack', Iterating Over a Dict. Key=>String, Value=>List
How to Set Explicitly the Terminal Size When Using Pexpect
Calling Java/Scala Function from a Task
How to Get Different Colored Lines for Different Plots in a Single Figure
Python Selenium Click on Button