Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

PyICU2.0.2 fails to install on Windows 7 / python-v'3.6.3 |Anaconda custom (64-bit) #72

Closed
yerraeee opened this issue Jan 18, 2018 · 5 comments

Comments

@yerraeee
Copy link

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.

@yerraeee
Copy link
Author

Platform: Windows 7 / python-v'3.6.3 |Anaconda custom (64-bit)

@ovalhub
Copy link
Owner

ovalhub commented Jan 18, 2018 via email

@thidasapankaja
Copy link

@ovalhub How can I install ICU C library on windows ?

@ovalhub ovalhub closed this as completed Jan 24, 2018
@ovalhub
Copy link
Owner

ovalhub commented Jan 24, 2018

Hmm, I had responded to this over email but it doesn't show here.
This list is about PyICU, not ICU.
To get installation help for ICU, please contact the ICU user list.
See here for more information: http://site.icu-project.org/contacts

@yerraeee
Copy link
Author

Thanks Andi.

I have tried setting values in environmental variable on my Windows7, but it did not help me.
I found wheels for various windows versions here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu
you can just download and install from one of these wheels.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants