Failed install scipy lib

Oscar Benjamin oscar.j.benjamin at gmail.com
Wed Apr 20 09:04:52 EDT 2016


On 20 April 2016 at 12:30,  <liran.maymoni at gmail.com> wrote:
> On Wednesday, April 20, 2016 at 2:09:10 PM UTC+3, liran.... at gmail.com wrote:
>> On Tuesday, April 19, 2016 at 9:21:42 PM UTC+3, eryk sun wrote:
>> > On Tue, Apr 19, 2016 at 12:05 PM, Oscar Benjamin
>> > <oscar.j.benjamin at gmail.com> wrote:
>> > > On 19 Apr 2016 17:01, <liran.maymoni at gmail.com> wrote:
>> > >>
>> > >> i'm trying to use:
>> > >> "py -m pip install scipy"
>> > >> and after couple of lines a get an error saying:
>> > >
>> > > I thought that binary wheels for scipy would be available on pypi for each
>> > > OS now. Try updating pip and then using it to install scipy.
>> >
>> > PyPI only has Windows wheels for NumPy, not SciPy. You can use
>> > Christoph Gohlke's unofficial packages:
>> >
>> > http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
>> > http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
>>
>> Tried to install thouse packages and i'm getting the error:
>>
>> scipy-0.17.0-cp35-none-win_amd64.whl is not a supported wheel on this platform.
>>
>> i've also tried it with the versions:
>> scipy-0.17.0-cp27-none-win_amd64.whl is not a supported wheel on this platform.
>>
>> scipy-0.17.0-cp34-none-win_amd64.whl is not a supported wheel on this platform.
>>
>>
>> I'm using win 10 x64. And python 3.5
>
> Ok i got it to install with the version:
> scipy-0.17.0-cp35-none-win32.whl
> I've also install this version:
> numpy-1.11.0+mkl-cp35-cp35m-win32.whl
>
> But when i try to run:
>>>> from scipy.stats.stats import pearsonr
>
> I get this error:
> Traceback (most recent call last):
>   File "<pyshell#3>", line 1, in <module>
>     from scipy.stats.stats import pearsonr
>   File "C:\Users\Liran\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\stats\__init__.py", line 338, in <module>
>     from .stats import *
>   File "C:\Users\Liran\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\stats\stats.py", line 180, in <module>
>     import scipy.special as special
>   File "C:\Users\Liran\AppData\Local\Programs\Python\Python35-32\lib\site-packages\scipy\special\__init__.py", line 627, in <module>
>     from ._ufuncs import *
>   File "scipy\special\_ufuncs.pyx", line 1, in init scipy.special._ufuncs (scipy\special\_ufuncs.c:26242)
> ImportError: DLL load failed: The specified module could not be found.

Maybe this is the problem:

http://stackoverflow.com/questions/36489487/error-of-import-scipy-stats-for-windows-7

--
Oscar



More information about the Python-list mailing list