Skip to content

scipy import fails for WPy64-3770 #849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Sandy4321 opened this issue Apr 26, 2020 · 5 comments
Closed

scipy import fails for WPy64-3770 #849

Sandy4321 opened this issue Apr 26, 2020 · 5 comments

Comments

@Sandy4321
Copy link

installation is
https://github.com/winpython/winpython/blob/master/changelogs/WinPython-64bit-3.7.7.0.md
code it
import scipy as my_scipy

error is
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\scipy_init_.py", line 156, in
from . import fft
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\scipy\fft_init_.py", line 76, in
from ._basic import (
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\scipy\fft_basic.py", line 1, in
from scipy._lib.uarray import generate_multimethod, Dispatchable
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\scipy_lib\uarray.py", line 27, in
from .uarray import *
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\scipy_lib_uarray_init
.py", line 114, in
from ._backend import *
File "e:\WINPYTHON_FULL_apr22\WPy64-3770\python-3.7.7.amd64\Lib\site-packages\scipy_lib_uarray_backend.py", line 15, in
from . import _uarray # type: ignore

builtins.ImportError: DLL load failed: The specified module could not be found.


E:\WINPYTHON_FULL_apr22\WPy64-3770\scripts>pip install scipy
Requirement already satisfied: scipy in e:\winpython_full_apr22\wpy64-3770\python-3.7.7.amd64\lib\site-packages (1.4.1)
Requirement already satisfied: numpy>=1.13.3 in e:\winpython_full_apr22\wpy64-3770\python-3.7.7.amd64\lib\site-packages (from scipy) (1.18.2+mkl)

E:\WINPYTHON_FULL_apr22\WPy64-3770\scripts>

@stonebig
Copy link
Contributor

stonebig commented Apr 26, 2020

on this one, the problem is this #828 (comment)

Hence, a quicker release process for WinPython 2020-02

in the mean time, installing the lastest file from https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads should fix it

The suggestion is at the bottom of the web site https://winpython.github.io/, maybe not obvious enough... shall make a dedicated note for WinPython 2020-01.

Hopefully, new betas should also have the problem solved.

@stonebig
Copy link
Contributor

tweaking web page

@Sandy4321
Copy link
Author

great it runs now without error
thanks
will check in details if it works correctly

@hiccup7
Copy link

hiccup7 commented Jun 3, 2020

@stonebig - Have you seen this package?
https://www.lfd.uci.edu/~gohlke/pythonlibs/#msvc_runtime

Would it make WinPython easier to install?
Would it make the WinPython build process easier?

@stonebig
Copy link
Contributor

stonebig commented Jun 3, 2020

Yes I saw.
Yes it would.
Yet I didn't dare switch up to now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants