(Aug-31-2020, 09:56 AM)Tomalak Wrote: The only thing I would say is different is I typed Windows key CMD to open the command prompt to install. I don't think I did as you suggest and opened it from the same directory as the exe.Look this run see that
pip -V
is showing which version it install to.Then to test that Matplotlib also work from cmd.
Microsoft Windows [Version 10.0.18362.1016] (c) 2019 Microsoft Corporation. Med enerett. C:\Users\Tom>cd\ # Test pip C:\>pip -V pip 20.2.2 from c:\python38\lib\site-packages\pip (python 3.8) # Test python C:\>python -V Python 3.8.3 # Install C:\>pip install matplotlib Requirement already satisfied: matplotlib in c:\python38\lib\site-packages (3.2. 2) # Test that it work. C:\>python Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AM D64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib >>> >>> matplotlib.__version__ '3.2.2' >>> exit() C:\>Now that all work here make sure you choose this Python version is use a editor.
It's often called
configure a python interpreter
in editors.Quote:I don't think I did as you suggest and opened it from the same directory as the exeYou don't need that,just make sure
python
and pip
command work from anywhere in cmd.Look at this Python 3.8 (3.6-3.7) and pip installation under Windows