我想测试 HoloViews,但遇到了几个错误。我安装了两次(这里建议的不同设置)。我用!pip install holoviews
和!pip install 'holoviews[recommended]'
。
安装时我得到:
Requirement already satisfied: holoviews in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: param>=1.3.2 in /usr/local/lib/python2.7/dist-packages (from holoviews)
Requirement already satisfied: numpy>=1.0 in /usr/local/lib/python2.7/dist-packages (from holoviews)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarningenter
因此,我可以导入 HoloViews(它在已安装的软件包列表中,版本为 1.6.2),但随后 holoviews.extension('bokeh') 不起作用。所以我不能使用它。
我在用着
- Python 2.7.6
- Jupyter 笔记本 5.1.0
- 散景 0.12.9
- Numpy 1.13.1
- 熊猫 0.20.3
对于我做错了什么或我能做些什么来解决这个问题,我将不胜感激。我不太熟悉安装软件包。如果您需要更多信息,请告诉我。我花了几个小时搜索/谷歌搜索没有结果的答案。
非常感谢。