On Mon, 2 Sept 2024 at 10:21, Patrick O'Callaghan <pocallag...@gmail.com>
wrote:

> On Sun, 2024-09-01 at 15:19 -0700, Samuel Sieb wrote:
> > > However I also have mingw64-libxml2-2.12.7-1.fc40.noarch, which was
> > > installed together with Wine. I assume that's the root of the problem,
> > > but I can't solve it without uninstalling Wine.
> >
> > That won't be a problem because those libraries are only for wine.
> >
> > Look in .local/lib/python3.12/site-packages/ (I really hope you didn't
> > pip install anything as root), and see what's in there.
>
> I find:
>
> $ ls .local/lib/python3.12/site-packages/
> configparser-7.0.0-py3.12.egg  lxml-4.9.4.dist-info   numpy.libs
>      pillow.libs                _webrtcvad.cpython-312-x86_64-linux-gnu.so
> easy-install.pth               numpy                  PIL
>     protonup-0.1.5-py3.12.egg  webrtcvad.py
> lxml                           numpy-2.0.1.dist-info
> pillow-10.4.0.dist-info  __pycache__
> webrtcvad_wheels-2.0.11.post1.dist-info
>
> If I move that directory to one side, Calibre does start. However there
> are things there (e.g. Proton) that I want to keep.
>
> I'm not aware of installing anything with pip as root.
>

If you pip install stuff in a Python virtual environment, that can help
isolate custom modules further from your normal/system Python runtimes.

https://docs.python.org/3/library/venv.html
https://realpython.com/python-virtual-environments-a-primer/
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to