Article 5QTEN Python 3.10: Locally installed modules not in path

Python 3.10: Locally installed modules not in path

by
redneonglow
from LinuxQuestions.org on (#5QTEN)
After Slackware's upgrade to Python 3.10, modules installed locally by pip3 are not detected.

Running python3 and typing "sys.path" does not show $HOME/.local/lib64/python3.10/site-packages.

In order to have the locally installed modules detected by Python programs, I have to add $HOME/.local/lib64/python3.10/site-packages to the PYTHONPATH variable.latest?d=yIl2AUoC8zA latest?i=sV9VQ7TdAjs:fwDQLZhqZJo:F7zBnMy latest?i=sV9VQ7TdAjs:fwDQLZhqZJo:V_sGLiP latest?d=qj6IDK7rITs latest?i=sV9VQ7TdAjs:fwDQLZhqZJo:gIN9vFwsV9VQ7TdAjs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments