Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Updated Python and programs stopped working

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
JR657
Posts: 29
Joined: 2018-07-15 14:48
Has thanked: 1 time

Updated Python and programs stopped working

#1 Post by JR657 »

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.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Updated Python and programs stopped working

#2 Post by arzgi »

How did you update python(3) ?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Updated Python and programs stopped working

#3 Post by 4D696B65 »

sid?

arid
Posts: 135
Joined: 2014-05-08 18:40
Location: Aridzona
Has thanked: 3 times
Been thanked: 1 time

Re: Updated Python and programs stopped working

#4 Post by arid »

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......

JR657
Posts: 29
Joined: 2018-07-15 14:48
Has thanked: 1 time

Re: Updated Python and programs stopped working

#5 Post by JR657 »

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

Post Reply