[英]FileNotFoundError when trying to install PyICU
When I try to install PyICU I get the error message "FileNotFoundError: [WinError 2] The system cannot find the file specified" (in German below in the code). 当我尝试安装PyICU时,出现错误消息“ FileNotFoundError:[WinError 2]系统找不到指定的文件”(在代码下面以德语显示)。
From other questions I have learned that I might have to do with my path. 从其他问题中,我了解到我可能与自己的道路有关。 But since I am new to Python I really don't know what to do with this information. 但是由于我是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\
At this point I really don't know how to continue. 在这一点上,我真的不知道如何继续。
Please give me a hand! 请帮帮我!
Thx. 谢谢。
I also had the same problem. 我也有同样的问题。 Then I followed these installation instructions to the letter: https://pypi.python.org/pypi/PyICU/ 然后,我按照以下安装说明进行操作: https : //pypi.python.org/pypi/PyICU/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.