未解决的参考“ sortedcontainers”,即使已安装

时间:2019-02-04 09:10:33

标签: python-3.x pip virtualenv sortedlist python-venv

我在虚拟环境(venv)中使用pip安装了sortedcontainer。

Collecting sortedcontainers
Downloading https://files.pythonhosted.org/packages/13/f3/cf85f7c3a2dbd1a515d51e1f1676d971abe41bba6f4ab5443240d9a78e5b/sortedcontainers-2.1.0-py2.py3-none-any.whl
Installing collected packages: sortedcontainers
Successfully installed sortedcontainers-2.1.0 

但是当我尝试使用它时, from sortedcontainers import SortedList Pycharm给我以下错误:

Unresolved reference 'sortedcontainers'

该如何解决?

0 个答案:

没有答案