尝试安装 PyICU 时出现 FileNotFoundError
FileNotFoundError when trying to install PyICU
当我尝试安装 PyICU 时,我收到错误消息 "FileNotFoundError: [WinError 2] The system cannot find the file specified"(在下面的代码中为德语)。
从其他问题中我了解到我可能与我的道路有关。但是由于我是 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\
到这里我真的不知道该怎么继续了。
请帮帮我!
谢谢。
我也遇到了同样的问题。然后我严格按照这些安装说明进行操作:
https://pypi.python.org/pypi/PyICU/
当我尝试安装 PyICU 时,我收到错误消息 "FileNotFoundError: [WinError 2] The system cannot find the file specified"(在下面的代码中为德语)。
从其他问题中我了解到我可能与我的道路有关。但是由于我是 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\
到这里我真的不知道该怎么继续了。
请帮帮我!
谢谢。
我也遇到了同样的问题。然后我严格按照这些安装说明进行操作: https://pypi.python.org/pypi/PyICU/