Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107409

Re: Failed install scipy lib

From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Newsgroups comp.lang.python
Subject Re: Failed install scipy lib
Date 2016-04-20 14:04 +0100
Message-ID <mailman.24.1461157514.12923.python-list@python.org> (permalink)
References (2 earlier) <CACL+1auY7RKbS74zjHfagQ=YR4KSQT27tb=0yEjx0-JU7PufNg@mail.gmail.com> <mailman.33.1461090079.30862.python-list@python.org> <3b6c95df-941d-41e7-8eb5-54b266cb5ce6@googlegroups.com> <f302b4c3-89b6-492c-86e0-0a51aff10cf1@googlegroups.com> <CAHVvXxSButKM1KtVGO+UCHWQHi1q+_dKQXPDD_gzSbkX7LiGOQ@mail.gmail.com>

Show all headers | View raw


On 20 April 2016 at 12:30,  <liran.maymoni@gmail.com> wrote:
> On Wednesday, April 20, 2016 at 2:09:10 PM UTC+3, liran....@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@gmail.com> wrote:
>> > > On 19 Apr 2016 17:01, <liran.maymoni@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Failed install scipy lib liran.maymoni@gmail.com - 2016-04-19 08:51 -0700
  Re: Failed install scipy lib liran.maymoni@gmail.com - 2016-04-19 08:55 -0700
  Re: Failed install scipy lib Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2016-04-19 18:05 +0100
    Re: Failed install scipy lib liran.maymoni@gmail.com - 2016-04-19 11:18 -0700
      Re: Failed install scipy lib Andrew Farrell <amfarrell@mit.edu> - 2016-04-19 14:10 -0500
  Re: Failed install scipy lib eryk sun <eryksun@gmail.com> - 2016-04-19 13:20 -0500
    Re: Failed install scipy lib liran.maymoni@gmail.com - 2016-04-20 04:08 -0700
      Re: Failed install scipy lib liran.maymoni@gmail.com - 2016-04-20 04:30 -0700
        Re: Failed install scipy lib Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2016-04-20 14:04 +0100
        Re: Failed install scipy lib Gonzalo V <gvm2121@gmail.com> - 2016-04-20 12:03 -0300
        Re: Failed install scipy lib eryk sun <eryksun@gmail.com> - 2016-04-20 21:05 -0500

csiph-web