Python3.6 Importerror: Cannot Import Name 'Main' Linux Rhel6

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



Leave a reply



Submit