簡體   English   中英

scipy 的版本在 jupyter 中無法識別

[英]Version of scipy is not recognized in jupyter

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-ffbe1855cb9e> in <module>
----> 1 scipy._version_

AttributeError: module 'scipy' has no attribute '_version_'

如果我嘗試在 jupyter notebook 中查找 scipy 的版本,上述消息會不斷彈出。

不要只使用一個下划線,而是使用兩次

scipy.__version__

應該管用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM