[Tutor] Can't use packages in newly installed python 3.11.3

Mark Lawrence breamoreboy at gmail.com
Wed Apr 12 10:01:51 EDT 2023


On 12/04/2023 14:29, Mats Wichmann wrote:
> On 4/11/23 12:27, Torbjörn Svensson Diaz wrote:
> 
> Well, this looks good, is it working now?  You've got a "user install" 
> of numpy tied to your new Python (on linux it builds those in your 
> .local directory, I forget where it puts them in Windows but since that 
> wasn't the question space...).
> 
>> python3.11 -m pip show numpy
>> Name: numpy
>> Version: 1.24.2
>> Location: /home/user/.local/lib/python3.11/site-packages
>> Requires:
> 
>> python3.10 -m pip show numpy
>> Name: numpy
>> Version: 1.21.5
>> Location: /usr/lib/python3/dist-packages
> 
> 

If folk want to upgrade a package to the latest version say:-

pip install -U numpy

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Tutor mailing list