Install Python with NumPy SciPy Matplotlib on Windows
[ad_1]
How to install Python 3 with NumPy SciPy Matplotlib on Windows.
Everything is deployed in a virtual environment.
Text version of the video:
https://solarianprogrammer.com/2017/02/25/install-numpy-scipy-matplotlib-python-3-windows/
Source
[ad_2]
>>> import scipy as sp
** On entry to DGEBAL parameter number 3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:DEVworklibsite-packagesscipy__init__.py", line 61, in <module>
from numpy import show_config as show_numpy_config
File "C:DEVworklibsite-packagesnumpy__init__.py", line 305, in <module>
_win_os_check()
File "C:DEVworklibsite-packagesnumpy__init__.py", line 302, in _win_os_check
raise RuntimeError(msg.format(__file__)) from None
RuntimeError: The current Numpy installation ('C:\DEV\work\lib\site-packages\numpy\__init__.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86
Thanks a lot, this helped yee
Thank you so much. You are a lifesaver
I created my work environment at C:Users..DEV>python -m venv work
But it cannot found…
This was very helpful, thanks alot!!
i cant see ur writing clearly
Thanks very much, it xas helpfull, I just did all these instructions. But when lunching IDLE from windows, and then running a python file, a python shell comes, and no python command works, it seems like IDLE doesn't recognize python !
Is this because IDLE can't reach the DEV folder?
NB: this is the error message on the IDLE shell when I type "import numpy as np":
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Can you please help me?
best video. GOOD JOB CONGRATS!
If you have python installed, tutorial starts at 1:25
Thank you!
Thank youuuuu!
thanks bro!very helpful !
when i go for matplotlib: this appears
ERROR: Command errored out with exit status 1:
command: 'C:DEVworkScriptspython.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\LAPTOP POINT\AppData\Local\Temp\pip-install-xl6xpwwg\matplotlib\setup.py'"'"'; __file__='"'"'C:\Users\LAPTOP POINT\AppData\Local\Temp\pip-install-xl6xpwwg\matplotlib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install –record 'C:UsersLAPTOP POINTAppDataLocalTemppip-record-g9_875e7install-record.txt' –single-version-externally-managed –compile –install-headers 'C:DEVworkincludesitepython3.8matplotlib'
cwd: C:UsersLAPTOP POINTAppDataLocalTemppip-install-xl6xpwwgmatplotlib
Complete output (499 lines):
just opened this video ,from a tutorial website ,to like this video.
Good job,helped me.
thaks bro
Thanks !
Running from the terminal works fine, but trying to write and run python files breaks with the following error:
Traceback (most recent call last):
File "np.py", line 1, in <module>
import numpy as np
File "C:UsersTony the PotatoAppDataRoamingPythonPython36site-packagesnumpy__init__.py", line 142, in <module>
from . import core
File "C:UsersTony the PotatoAppDataRoamingPythonPython36site-packagesnumpycore__init__.py", line 23, in <module>
WinDLL(os.path.abspath(filename))
File "C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libctypes_init__.py", line 348, in __init_
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Any idea why?