I see that some bloggers have said to upgrade numpy
but my numpy is up-to-date
numpy 1.21.0
but still can’t
to get to the point directly
* * my solution may be limited to gensim *
(1) in Python, from gensim.models import fasttext shows that a file is disabled, PIP install Python Levenshtein can solve the problem, However, the following errors occurred during the installation process, which means that visual c + + 14.0 is missing or upgraded.
(2) in order to avoid this problem, install the WHL file directly and download it according to your own Python version. After 64 bit and 34 bit
PIP install path + WHL file, you can successfully install
(3) Restart Jupiter notebook
must restart, I don’t know why, restart not report error
solution
Read More:
- jupyter notebook Use pyLDAvis Error: AttributeError: module ‘pyLDAvis‘ has no attribute ‘gensim
- Gensim Error: AttributeError: The vocab attribute was removed from KeyedVector in Gensim 4.0.0.
- [Solved] Operator Not Allowed In Graph Error & Attribute Error Tensor object has no attribute numpy
- [Solved] AttributeError: module ‘pandas‘ has no attribute ‘rolling_count‘
- [Solved] AttributeError: module ‘logging‘ has no attribute ‘Handler‘
- [Solved] AttributeError: module ‘tensorflow‘ has no attribute ‘distributions‘
- AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘ [How to Solve]
- [How to Solve]AttributeError: module ‘scipy’ has no attribute ‘io’
- [Solved] AttributeError: module ‘librosa.feature‘ has no attribute ‘inverse‘
- [Solved] AttributeError: module ‘time‘ has no attribute ‘clock‘
- [Perfectly Solved] attributeerror: module ‘SciPy. Misc’ has no attribute ‘toimage’ error
- [Solved] AttributeError: module ‘selenium.webdriver‘ has no attribute ‘Chrome‘
- AttributeError: module ‘time‘ has no attribute ‘clock‘ [How to Solve]
- [Solved] AttributeError: module ‘dlib‘ has no attribute ‘get_face_chip‘
- [Solved] AttributeError: module ‘distutils‘ has no attribute ‘version‘
- Python AttributeError: module ‘tensorflow‘ has no attribute ‘InteractiveSession‘
- [Solved] AttributeError: ‘module‘ object has no attribute ‘CALIB_HAND_EYE_PARK‘
- [Solved] Pytorch call tensorboard error: AttributeError: module ‘tensorflow’ has no attribute ‘gfile’
- [Solved] AttributeError: module ‘setuptools._distutils‘ has no attribute ‘version‘
- [Solved]AttributeError: module ‘urllib’ has no attribute ‘quote’