How can I update scipy in winpython on windows?

I have winpython installed and would like to update scipy to version 0.14. How can i do this? Do I have to completely reinstall winpython?

EDIT:

If I run pip install --upgrade scipy

from WinPython Command Prompt

I get this error:

----------------------------------------
  Rolling back uninstall of scipy
Cleaning up...
Command C:\Users\donbeo\WinPython-64bit-3.3.5.0\python-3.3.5.amd64\python.exe -c
 "import setuptools, tokenize;__file__='c:\\users\\donbeo\\appdata\\local\\temp\
\pip_build_donbeo\\scipy\\setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:
\users\donbeo\appdata\local\temp\pip-puzp_i-record\install-record.txt --single-v
ersion-externally-managed --compile failed with error code 1 in c:\users\donbeo\
appdata\local\temp\pip_build_donbeo\scipy
Storing debug log for failure in C:\Users\donbeo\WinPython-64bit-3.3.5.0\setting
s\pip\pip.log

      

C: \ Users \ donbeo \ WinPython-64bit-3.3.5.0 \ python-3.3.5.amd64> pip install --upgrade SciPy

+3


source to share


3 answers


Christoph Gohlke now provides wheels , so starting in Winpython January 2015 you can do this as well:

  • Download the correct file .whl

    for your Python version (e.g. cp33

    Python 3.3 and win32

    32-bit) somewhere, e.g.D:\scipy\

  • Run WinPython Command Prompt
  • A type

    pip install --no-index --upgrade D:\scipy\scipy‑0.15.0cp33nonewin32.whl
    
          



It should give you an output like this, for example for Python 3.3 32-Bit:

D:\result_tests\WinPython-32bit-3.3.5.5_build5\python-3.3.5>pip install --no-index --upgrade D:\here_is_scip\scipy-0.15.0-cp33-none-win32.whl
Ignoring indexes: https://pypi.python.org/simple
Processing d:\here_is_scip\scipy-0.15.0-cp33-none-win32.whl
Installing collected packages: scipy
  Found existing installation: scipy 0.14.1
    Uninstalling scipy-0.14.1:
      Successfully uninstalled scipy-0.14.1

Successfully installed scipy-0.15.0

D:\result_tests\WinPython-32bit-3.3.5.5_build5\python-3.3.5>

      

+5


source


I think the error is caused by not running the prompt with admin rights. Find a DOS-like Command Prompt program, then right-click it and select Run as Administrator.



+2


source


The easiest way for Windows is to use Christoph Gohlke pre-built binaries , which is also recommended according to wppm :

0


source







All Articles