You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I built the environment dependencies, I got the following error:
Collecting scikit-learn==1.1.2 (from -r .\requirements.txt (line 2))
...
...
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
I looked it up and found that I was using a very new version of python, python3.12 is not compatible with scikit-learn==1.1.2, which need python version less than 3.11. So I realized that the python version is not arbitrary. Further, I found that torch==1.10.1 limits the highest python version to py3.8, see this link.
I believe it would be helpful to others if you could provide the version of python you use directly in the readme.
But is the torch version of the qualification necessary? In my very personal experience, torch's compatibility is not bad, probably torch2 will work just as well? You know, it is sometimes not easy to install a lower version of the torch because of issues such as GPU drivers.
Finally, nltk and pillow are also needed, but not in requirements.txt.
Thank you for your effort!
The text was updated successfully, but these errors were encountered:
When I built the environment dependencies, I got the following error:
I looked it up and found that I was using a very new version of python, python3.12 is not compatible with
scikit-learn==1.1.2
, which need python version less than 3.11. So I realized that the python version is not arbitrary. Further, I found thattorch==1.10.1
limits the highest python version to py3.8, see this link.I believe it would be helpful to others if you could provide the version of python you use directly in the readme.
But is the torch version of the qualification necessary? In my very personal experience, torch's compatibility is not bad, probably torch2 will work just as well? You know, it is sometimes not easy to install a lower version of the torch because of issues such as GPU drivers.
Finally,
nltk
andpillow
are also needed, but not inrequirements.txt
.Thank you for your effort!
The text was updated successfully, but these errors were encountered: