how can I update scipy in winpython on windows?

前端 未结 3 395
心在旅途
心在旅途 2021-01-19 08:21

I have winpython installed and I would like to update scipy to the version 0.14. How can I do that? Should I reinstall winpython completely?

EDIT:

If I ru

相关标签:
3条回答
  • 2021-01-19 08:51

    I think the error is caused because you are not running the prompt with administrator privileges. Locate the DOS-like "command prompt" program, then right-click on it and choose "run as administrator".

    0 讨论(0)
  • 2021-01-19 09:03

    The easiest way for windows is to use Christoph Gohlke's prebuilt binaries which is also a recommended way to install according to wppm :

    0 讨论(0)
  • 2021-01-19 09:09

    Christoph Gohlke now provides wheels, so starting Winpython of January 2015, you may also be able to do that:

    • Download the correct .whl file for your Python version (e.g. cp33 for Python 3.3 and win32 for 32-Bit) to some location, e.g. D:\scipy\
    • Launch the WinPython Command Prompt
    • Type

      pip install --no-index --upgrade D:\scipy\scipy‑0.15.0‑cp33‑none‑win32.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>
    
    0 讨论(0)
提交回复
热议问题