在 jupyter 中导入 unicodecsv 失败

Shy*_*r R 5 package python-2.7 jupyter

我尝试通过运行 .ipynb 文件在 jupyter 中运行 import unicodecsv 。它失败了。然后我通过 python install 命令安装了 unicodecsv 文件,并在 c\python27 目录中找到了它。但仍然没有发生进口。应该怎么安装。需要放在anaconda安装里面吗

编辑:显示错误-

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-9c1521d8df38> in <module>()
      2 #                 1                 #
      3 #####################################
----> 4 import unicodecsv
      5 ## Read in the data from daily_engagement.csv and project_submissions.csv
      6 ## and store the results in the below variables.

ImportError: No module named unicodecsv
Run Code Online (Sandbox Code Playgroud)

ale*_*x.b 5

Pip(Python 的软件包安装程序) 软件包管理器也带有 Python3,你可以在不安装的情况下尝试这个变体Conda(Windows):

python -m pip install unicodecsv
Run Code Online (Sandbox Code Playgroud)