[英]Upgrading to the latest version of scipy
我正在嘗試將scipy.org的scipy python庫從版本0.13.0b1升級到版本0.19.0(包含signal.stft和signal.istft)。 我按照scipy的安裝說明進行操作,然后使用Macports重新安裝了它:
sudo port install py35-scipy
但是當我檢查scipy版本時,我仍然擁有版本0.13.0b1。 為什么不安裝最新版本的scipy?
您可以使用pip安裝和更新scipy。
嘗試安裝pip:
python get-pip.py
然后升級:
python -m pip install --upgrade pip
然后使用pip安裝scipy:
pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
更改與系統相關的信息。
您可以在這里參考文檔以獲取更多信息: 安裝SciPy
原來/ usr / bin / python正在運行python2.7,要使新版本的scipy正常工作,需要python3.6
僅供參考:如果您使用的是Eclipse / PyDev,則可以在Preferences-> PyDev-> Interpreters-> Python Interpreter中進行更改
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.