我正试图下载谷歌colab中的scitools虹膜软件包。我首先使用pip安装,如下所示:
!pip install scitools-iris
然后使用以下命令导入iris:
import iris
但是,这将返回错误消息:
ERROR:root:An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line string', (1, 0))
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-20-089b5db944e7> in <module>()
----> 1 import iris
/usr/local/lib/python3.7/dist-packages/iris/__init__.py in <module>()
20 - https://pypi.org/project/irisapi/
21 - https://iris.claims/
---> 22 """)
RuntimeError:
Ambiguous 'iris' package.
Please use either:
**illumon-iris**- Python integration for Illumon Iris, a time-series database
- pip install illumon-iris
- https://pypi.python.org/pypi/illumon-iris
- https://deephaven.io/
**SciTools Iris**- Python library for analysing and visualising meteorological and oceanographic data sets
- http://scitools.org.uk/iris/
**info.gianlucacosta.iris**- A general-purpose library for Python
- pip install info.gianlucacosta.iris
- https://pypi.python.org/pypi/info.gianlucacosta.iris
**irisapi**- Iris is a highly configurable and flexible service for paging and messaging
- pip install irisapi
- https://pypi.org/project/irisapi/
- https://iris.claims/
我知道我想导入scitools iris包,但是它没有告诉我如何导入这个特定的包。有人知道如何在google colab中导入scitools iris吗?
暂无答案!
目前还没有任何答案,快来回答吧!