ImportError: cannot import name 'hash_unicode' from 'murmurhash'
See original GitHub issueimport spacy_stanza
gives me this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\spacy_stanza\__init__.py", line 2, in <module>
from spacy import blank, Language
File "E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\spacy\__init__.py", line 10, in <module>
from thinc.api import prefer_gpu, require_gpu, require_cpu # noqa: F401
File "E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\thinc\api.py", line 22, in <module>
from .layers import Dropout, Embed, expand_window, HashEmbed, LayerNorm, Linear
File "E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\thinc\layers\__init__.py", line 53, in <module>
from .strings2arrays import strings2arrays
File "E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\thinc\layers\strings2arrays.py", line 2, in <module>
from murmurhash import hash_unicode
ImportError: cannot import name 'hash_unicode' from 'murmurhash' (E:\WPy-3710\python-3.7.1.amd64\lib\site-packages\murmurhash\__init__.py)
I am using Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32
, which is WinPython on Windows 10 64 bit.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ubuntu 18.04 - ImportError: cannot import name 'hash_unicode'
I fixed this by reinstall murmurhash. It upgraded from 0.28.0 to 1.0.5.
Read more >Python 3.7 spaCy Help Needed- Environment Inconsistency ...
When I run import spacy I get an error ImportError: cannot import name 'hash_unicode' from 'murmurhash'. I am puzzled because I have used...
Read more >SPACY IMPORT ERROR! · Issue #6368 - GitHub
ImportError : cannot import name 'prefer_gpu' from 'thinc.api' (/Users/lexroverts/opt/anaconda3/lib/python3.7/site-packages/thinc/api.py) ...
Read more >Importerror: Cannot Import Name 'Chatbot' From 'Chatterbot' - ADocLib
ImportError : cannot import name 'chatbot' from 'chatterbot'.hey guys I'm getting this error trying to build a chatbot Traceback most recent call last:...
Read more >AttributeError: module 'murmurhash' has no attribute 'hash'
(https://prodi.gy/docs/workflow-first-steps) I just installed the new 1.7.1 version and I'm receiving the following error when I got to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just had the same issue and solved it with.
pip uninstall murmurhash pip uninstall spacy pip install -U spacy
Works in WinPython 3.8.1 though