尝试安装PyICU时出现FileNotFoundError

时间:2017-02-15 11:56:50

标签: python python-3.x subprocess anaconda pyicu

当我尝试安装PyICU时,我收到错误消息“FileNotFoundError:[WinError 2]系统找不到指定的文件”(在下面的德语代码中)。

从其他问题我了解到我可能与我的道路有关。但由于我是Python的新手,我真的不知道如何处理这些信息。

(C:\Users\max.nkern\AppData\Local\Continuum\Anaconda3) C:\Users\max.nkern>pip install git+https://github.com/ovalhub/pyicu
Collecting git+https://github.com/ovalhub/pyicu
Cloning https://github.com/ovalhub/pyicu to c:\users\max~1.nke\appdata\local\temp\pip-9reie9cq-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\MAX~1.NKE\AppData\Local\Temp\pip-9reie9cq-build\setup.py", line 22, in <module>
    ICU_VERSION = check_output(('icu-config', '--version')).strip()
  File "c:\users\max.nkern\appdata\local\continuum\anaconda3\lib\subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "c:\users\max.nkern\appdata\local\continuum\anaconda3\lib\subprocess.py", line 693, in run
    with Popen(*popenargs, **kwargs) as process:
  File "c:\users\max.nkern\appdata\local\continuum\anaconda3\lib\subprocess.py", line 947, in __init__
    restore_signals, start_new_session)
  File "c:\users\max.nkern\appdata\local\continuum\anaconda3\lib\subprocess.py", line 1223, in _execute_child
    cwd, startupinfo)
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\MAX~1.NKE\AppData\Local\Temp\pip-9reie9cq-build\

此时我真的不知道如何继续。

请帮我一把!

THX。

1 个答案:

答案 0 :(得分:0)

我也有同样的问题。然后我按照这些安装说明写了这封信: https://pypi.python.org/pypi/PyICU/