Closed LittleCuteBug closed 1 year ago
You can try install the files manually to your python env site-packages:
$ cp build/python/lib/python3.10/site-packages/CocCocTokenizer.* /home/huyqnguyen/anaconda3/envs/py3.8/lib/python3.8/site-packages
Dear @anhducle98, thanks for your suggestion, but after I tried to copy the file CocCocTokenizer-1.4-py3.8-linux-x86_64.egg
in the directory coccoc-tokenizer/build/python/lib/python3.8/site-packages/
to the python env site-packages /home/huyqnguyen/anaconda3/envs/py3.8/lib/python3.8/site-packages/
but it's still not work. I've also tried rename the directory to CocCocTokenizer.egg
and it's not work too.
Sorry. I meant copying the .so and .py files:
$ cp build/python/lib/python3.8/site-packages/CocCocTokenizer-1.4-py3.8-linux-x86_64.egg/CocCocTokenizer.* /home/huyqnguyen/anaconda3/envs/py3.8/lib/python3.8/site-packages/
Thanks for your support, it works beautifully, I'll close this issue now
Dear all, I've some issues when trying to install the CocCocTokenizer library for python 3.8 in a conda environment. I've tried:
conda activate py3.8
to the/python/build_python.sh
filebut none of those solutions help me to include the coccoctokenizer in python: