Closed ZhaomingPsych closed 1 year ago
Hi! This might be caused by gbk being the default codec for your system. I think this can be fixed if we replace
open("README.md", 'r')
with open("README.md", 'r', encoding='utf-8')
in the setup.py
file. To test this out, can you try the following and let me know how it goes?
In the keypoint_moseq environment, first run:
pip install -U git+https://github.com/dattalab/jax-moseq.git@main
You should get the usual error. Next try running
pip install -U git+https://github.com/dattalab/jax-moseq.git@utf8_encoding_in_setup
Do you get the same error as before?
Hi! This might be caused by gbk being the default codec for your system. I think this can be fixed if we replace
open("README.md", 'r')
withopen("README.md", 'r', encoding='utf-8')
in thesetup.py
file. To test this out, can you try the following and let me know how it goes?In the keypoint_moseq environment, first run:
pip install -U git+https://github.com/dattalab/jax-moseq.git@main
You should get the usual error. Next try running
pip install -U git+https://github.com/dattalab/jax-moseq.git@utf8_encoding_in_setup
Do you get the same error as before?
Wonderful, thank you! Yes, I encountered the same problem when running the first command. However, the second command resolved the issue and I was able to successfully complete the keypoint_moseq installation. Thanks for your assistance!
Great This should be fixed in the next release (0.0.1). setup.py
has been updated for keypoint-moseq and jax-moseq
https://github.com/dattalab/keypoint-moseq/commit/f313dc128441cf4aa13d0a95e666bbff09583982 https://github.com/dattalab/jax-moseq/commit/4d02396de7550ce2aa6c839a2a0209ebc41b51b6
Hello, everyone! I have encountered problems while attempting to install keypoint_moseq. I have tried two different methods, pip and conda, but unfortunately, I have experienced errors with both approaches.
I attempted to use pip for installation, and the attached Image 1 shows the error message that I encountered. Subsequently, I tried using conda to install, but I also faced an issue in this case, which is illustrated in the attached Image 2.
Do you have any methods to solve it? Thanks for your attention!