我正在尝试在 Google Colab 中下载 SciTools Iris 包。我首先使用 pip install,如下所示:
!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?