30 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
231
views
macos install pyicu==2.15 icu=77.1
Resolved 388 packages in 7ms
Built cbor==1.0.0
Built volcengine==×ばつ Failed to build pyicu==2.15
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta.build_wheel failed (...
1
vote
0
answers
74
views
failed importing ICUFoldingFilter while using pylucene
When issuing an import statement
from lucene.ICUFoldingFilter import ICUFoldingFilter
I'm getting an error:
ValueError: (2, 'No such file or directory', '~/miniconda3/envs/lucene/lib/python3.11/site-...
1
vote
0
answers
1k
views
how to install polyglot on windows
I would like to use the python polyglot library but I couldn't manage to use it
I installed it using the command
git clone https://github.com/aboSamoor/polyglot
cd polyglot
python setup.py install
...
1
vote
0
answers
774
views
An error occurred while installing pyicu==2.8
I have built an API server with python's Flask package. I'm trying to deploy the server on Heroku using the terminal but doesn't seem to work. I have already tried using the Heroku Build Pack to ...
13
votes
5
answers
14k
views
Pip can't install pyicu
I am running a AWS that runs Ubuntu 20.04. I am trying to install the package pyicu, but I am facing problems. I tried running sudo apt install libicu-dev, but I still can't install pyicu. I am not ...
8
votes
2
answers
1k
views
How to correctly install PyICU on Heroku?
I am trying to deploy my Python app on Heroku, but have been unsuccessful. It seems that a problem is occurring with the PyICU package, which I'm unsure how to correct. I've confirmed that this is the ...
0
votes
1
answer
466
views
Installing PyICU on continuumio/miniconda3:4.9.2 image
Unfortunately when using the Docker base: continuumio/miniconda3:4.9.2 from https://hub.docker.com/r/continuumio/miniconda3
and running:
pip install PyICU==2.4.2 I get this error:
------ ...
12
votes
2
answers
12k
views
Polyglot ImportError: cannot import name 'Locale' from 'icu'
I was trying to run the polyglot for my sentimental analysis. After a lot of struggling,, I successfully installed Polyglot and pyicu. However when I ran my program, it gave me this error, and I don't ...
1
vote
1
answer
156
views
cmp_to_key is not working in python3 for .csv files
I'm working with .csv files, so I need to sort by specific column
this answer doesn't work:
sorting with two key= arguments
thus using the idea from
How do I sort unicode strings alphabetically in ...
2
votes
1
answer
405
views
install pyicu 64 on macOS with python2
I first installed icu4c from the Homebrew formula:
$ brew install icu4c
$ ls /usr/local/Cellar/icu4c/
64.2
then setup the flags accordingly:
export ICU_VERSION=64
export PYICU_INCLUDES=/usr/local/...
1
vote
1
answer
411
views
Segmentation fault with Python with install of PyICU
I have been trying to install a Python library called Polyglot, which in turn requires PyICU, the source of my woes. After a wild goose chase of errors, I was able to install PyICU on my EC2 instance. ...
0
votes
1
answer
591
views
Unable to install polyglot on macOS High Sierra 10.13.6
I tried installing through pip install polyglot and got following error:
Collecting polyglot
Using cached https://files.pythonhosted.org/packages/e7/98/...
5
votes
2
answers
1k
views
Import or Symbol not Found Error with polyglot when PyICU and icu4c installed correctly
I'm really struggling with polyglot, pyicu and icu4c - and it seems like I'm not the only one...
I'm running Mac OS High Sierra 10.13.6 and python3 with a virtualenv
Here are the steps I've taken, ...
0
votes
1
answer
5k
views
could not find libicui18n.so.58 in ubuntu 16.04
I am trying to install pyicu in virtualenv
pip install PyICU
it installed but while trying to use its method, it through below error
from icu import *
Traceback (most recent call last):
File "&...
2
votes
2
answers
4k
views
Import error for icu in Mac and Ubuntu, although pyicu is installed correctly
I have pyicu installed in both MacOS and Ubuntu 14.04 but it shows ImportError upon importing.
For MacOS high sierra output is:
Traceback (most recent call last):
File "<stdin>", line 1, in &...