Parrot Upgrade apear to have messed up my python

Hello, sorry to bother you, need help with python … I believe after a 2000 and so package upgrade requirement from parrot package manager it just… well crashed my python installation…

software that used to work, not working anymore ( god… am I pissed off … )

heres one quick exemple :

Traceback (most recent call last):
File “/home/blackparrot/.local/bin/qspectrumanalyzer”, line 6, in
from qspectrumanalyzer.main import main
File “/home/blackparrot/.local/lib/python3.7/site-packages/qspectrumanalyzer/”, line 10, in
from qspectrumanalyzer.plot import SpectrumPlotWidget, WaterfallPlotWidget
File “/home/blackparrot/.local/lib/python3.7/site-packages/qspectrumanalyzer/”, line 4, in
import pyqtgraph as pg
File “/usr/lib/python3/dist-packages/pyqtgraph/”, line 210, in
from .graphicsItems.GraphicsLayout import *
File “/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/”, line 6, in
from .PlotItem import PlotItem
File “/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotItem/”, line 1, in
from .PlotItem import PlotItem
File “/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotItem/”, line 9, in
from …widgets.FileDialog import FileDialog
ModuleNotFoundError: No module named ‘pyqtgraph.widgets’

yet …

$pip3 search pyqtgraph
pyqtgraph-extensions (0.1) - Extensions for pyqtgraph
taurus-pyqtgraph (0.3.0) - Taurus extension providing
pyqtgraph-based widgets
pyqtgraph (0.10.0) - Scientific Graphics and GUI Library
for Python
INSTALLED: 0.11.0.dev0
LATEST: 0.10.00

What version of Parrot are you running? (include version (e.g. 4.6), edition(e.g. Home//KDE/OVA, etc.), and architecture (currently we only support amd64)

uname -a
Linux parrot 5.2.0-2parrot1-amd64 #1 SMP Debian 5.2.9-2parrot1 (2019-08-25) x86_64 GNU/Linux

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
GTK Graphical
Configured to multiboot with other systems? (yes / no)
Yes but not relevent

fixed it by my self using the specifics command :

272 update-alternatives --config python
273 update-alternatives --config python3
274 ls /usr/bin/python*
275 python --version
276 python3 --version
277 update-alternatives --list python
278 update-alternatives --list
279 update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
280 update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2
281 update-alternatives --list python

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.