【问题标题】:How to install dataset on Windows?如何在 Windows 上安装数据集?
【发布时间】:2019-02-01 10:53:12
【问题描述】:

安装预装 Python 3.6 和 pandas 0.19.12 的 Anaconda 4.3 后,我想安装数据集但无法实现。

我尝试了许多不同的解决方案,例如

python -m pip install --upgrade pip
easy_install -U setuptools
pip install ez_setup
pip install --upgrade setuptools --user python

没有工作。我仍然收到此错误

  During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\khoithinh\AppData\Local\Temp\2\pip-install-tew9mnv7\pyicu\setup.py", line 53, in <module>
        ''')
    RuntimeError:
    Please set the ICU_VERSION environment variable to the version of
    ICU you have installed.


    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\khoithinh\AppData\Local\Temp\2\pip-install-tew9mnv7\pyicu\

【问题讨论】:

  • “数据集”是什么意思?另外,Anaconda 是 Python 的发行版,所以我不清楚你为什么还要下载 3.6,除非你说这是 Anaconda 附带的 Python 版本
  • 大多数使用“数据集”的人都是通过 Anaconda 预装的 pandas 包来实现的。数据集是pandas 中的数据结构,而不是它自己的包。你还有别的意思吗?
  • 抱歉我的问题不清楚。 Anaconda 4.3 预装 Python 3.6
  • @RoryDaulton 我使用“conda list”检查了所有模块,但没有看到任何数据集。不过我确实看到了熊猫。

标签: python dataset


【解决方案1】:

更好地概括您想要实现的目标可能会很有用。提到的“上述例外”是什么?您运行的初始命令是什么? ICU_VERSION 环境变量在 Windows 中设置了吗?

无论如何,请查看this 帖子和this 链接,了解如何在 Windows 上设置 ICU,它应该提供一些指导。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-01-25
    • 2013-08-25
    • 2016-04-19
    • 2023-03-21
    • 2011-01-25
    • 2012-09-11
    • 2019-03-06
    • 2018-01-15
    相关资源
    最近更新 更多