[Tutor] Can't use packages in newly installed python 3.11.3
Torbjörn Svensson Diaz
torbjorn.svensson.diaz at gmail.com
Tue Apr 11 14:27:28 EDT 2023
On 2023-04-11 20:17, Mats Wichmann wrote:
>
> You can always ask Python. A given Python's sys.path has where it
> will search. And pip can tell you where a package lives. For example,
> on a current Fedora system:
>
> $ python3 -m pip show numpy
> Name: numpy
> Version: 1.22.0
> Summary: NumPy is the fundamental package for array computing with
> Python.
> Home-page: https://www.numpy.org
> Author: Travis E. Oliphant et al.
> Author-email:
> License: BSD
> Location: /usr/lib64/python3.11/site-packages
>
python3.11 -m pip show numpy
Name: numpy
Version: 1.24.2
Summary: Fundamental package for array computing in Python
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email:
License: BSD-3-Clause
Location: /home/user/.local/lib/python3.11/site-packages
Requires:
Required-by: biopython, bokeh, contourpy, matplotlib, pandas,
scikit-learn, scipy
python3.10 -m pip show numpy
Name: numpy
Version: 1.21.5
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email:
License: BSD
Location: /usr/lib/python3/dist-packages
Requires:
Required-by:
--
Torbjörn Svensson Diaz
More information about the Tutor
mailing list