PyICU2.0.2 fails to install on Windows 7 / python-v'3.6.3 |Anaconda custom (64-bit)
Created by: yerraeee
Hi,
I am facing issues while installing PyICU 2.0.2, as I could not succeed installing with pip install or conda install, I tried installing from a local download and get below error.
C:\Users\my101292\Downloads\pyicu-master\pyicu-master>python setup.py install Traceback (most recent call last): File "setup.py", line 43, in ICU_VERSION = os.environ['ICU_VERSION'] File "C:\ProgramData\Anaconda3\lib\os.py", line 669, in getitem raise KeyError(key) from None KeyError: 'ICU_VERSION'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "setup.py", line 46, in ICU_VERSION = check_output(('icu-config', '--version')).strip() File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 336, in check_output **kwargs).stdout File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 403, in run with Popen(*popenargs, **kwargs) as process: File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 709, in init restore_signals, start_new_session) File "C:\ProgramData\Anaconda3\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "setup.py", line 53, in ''') RuntimeError: Please set the ICU_VERSION environment variable to the version of ICU you have installed.