Undo installing modules

I had a working trytond system running in a virtual environment and being accessible trhough the desktop client.
I installed 3 additional modules using pip install
Unfortunately I had the virtual environment not activated and the modules got installed into the main system.
Now I can’t connect to the server anymore, the Error being a ConnectionRefusedError: [Errno 111] Connection refused. The error is caused by the most recent call:
File “/usr/lib/python3.10/socket.py”, line 833, in create_connection
sock.connect(sa).
Is there a way to uninstall the modules from the main system and install them into the virtual environment? Or is there another way to fix this?

@efe to uninstall a module try this:
python -m pip uninstall trytond_party
When within the virtual enviroment:

source bin/activate
python -m pip install trytond_party

THX, cheche, that worked!

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