Updated Python and programs stopped working

If none of the more specific forums is the right place to ask

Updated Python and programs stopped working

Postby JR657 » 2020-12-31 12:14

Hello,

I recently upgraded Python and now certain programs are no longer working. For instance, when I try to launch Bleachbit from the terminal I get this error:

Traceback (most recent call last):
File "/usr/bin/bleachbit", line 43, in <module>
import bleachbit.GUI
File "/usr/share/bleachbit/GUI.py", line 25, in <module>
from bleachbit import GuiBasic
File "/usr/share/bleachbit/GuiBasic.py", line 28, in <module>
import gi
ModuleNotFoundError: No module named 'gi'

I have no idea how to fix this, so any help would be greatly appreciated.

Thank you.
JR657
 
Posts: 12
Joined: 2018-07-15 14:48

Re: Updated Python and programs stopped working

Postby arzgi » 2020-12-31 15:43

How did you update python(3) ?
arzgi
 
Posts: 701
Joined: 2008-02-21 17:03
Location: Finland

Re: Updated Python and programs stopped working

Postby 4D696B65 » 2020-12-31 16:03

sid?
User avatar
4D696B65
 
Posts: 2515
Joined: 2009-06-28 06:09

Re: Updated Python and programs stopped working

Postby arid » 2020-12-31 22:12

Sorry Charley, no problem on sid, the only REAL linux, as of 1 minute ago.

I just installed it for this thread and it's gone just as fast.

What scary looking 'make it all go bye-bye' software.
There's no drama in my sid......
arid
 
Posts: 100
Joined: 2014-05-08 18:40
Location: Aridzona

Re: Updated Python and programs stopped working

Postby JR657 » 2021-01-01 19:10

arzgi wrote:How did you update python(3) ?


Thanks for the reply...

After I downloaded and verified the files I did the following:

sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev

sudo tar -xf Python-3.9.1.tar.xz

cd Python-3.9.1

sudo ./configure --enable-optimizations

sudo make -j 8

sudo make altinstall

python3.9 --version

output: Python 3.9.1

I'm also getting this new message in Chkrookit:

Searching for anomalies in shell history files... Warning: `//root/.python_history' file size is zero
JR657
 
Posts: 12
Joined: 2018-07-15 14:48


Return to General Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable