So another one of the resources that I include in the code is a pip environment. So if you have Conda installed, you can just use Conda install Matplotlib, and if you have pip installed, you can just do pip install Matplotlib. GARY WHITE : So I'll leave a link to these resources in this section of the course. So if you're using Anaconda, you can do a Conda install. So you just need to install pip, and then you can pip install Matplotlib. And this will give you all the information you need to install an official release. I managed to install matplotlib by installing "matplotlib "Microsoft C Build Tools".GARY WHITE: We're going to get you set up with Matplotlib and have it installed, so if you go to the Matplotlib website, you can click on the installation link. I'd say that I am a tech noob and maybe the problem is that I am doing something dumb and obvious, I suspect I need to install it to another directory but I can't figure out which, or maybe it has to do with my P圜harm settings ? I tried diffrent commands to check the pip version, or to install it but all of them return the same error, seen above. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at: 'C:\Users\MEDVX\PycharmProjects\pythonProject\venv\Scripts\python.exe'."`īut when I try to install/update in this directory it writes: C:\Users\MEDVX\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Users \\MEDVX\\pip': No such file or directory It says to `"Try to run this command from the system terminal. I tried to install the 'matplotlib' but I got an error message: ERROR: Command errored out with exit status 1: 'C:\Users\MEDVX\PycharmProjects\pythonProject\venv\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize sys.argv = '"'"'C:\\Users\\MEDVX\\AppData\\Local\\Temp\\pip-install-un3kpywl\\matplotlib_14231889845d46839010c545a31f9693\\setup.py'"'"' _file_='"'"'C:\\Users\\MEDVX\\AppData\\Local\\Temp\\pip-install-un3kpywl\\matplotlib_14231889845d46839010c545a31f9693\\setup.py'"'"' f = getattr(tokenize, '"'"'open'"'"', open)(_file_) if os.path.exists(_file_) else io.StringIO('"'"'from setuptools import setup setup()'"'"') code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' install -record 'C:\Users\MEDVX\AppData\Local\Temp\pip-record-v8ijdjvm\install-record.txt' -single-version-externally-managed -compile -install-headers 'C:\Users\MEDVX\PycharmProjects\pythonProject\venv\include\site\python3.10\matplotlib' Check the logs for full command output.Īfter that, I tried to update my pip, it updated to version latest version, but the error remained. I installed the 'numpy' package, and it went fine. I freshly installed python 3.10 and used it with P圜harm,I am on windows 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |