Missing pkg_resources.py31compat - python

I tried to set up a virtualenv and I have setuptools (39.0.1). And I got
In [1]: import pkg_resources.py31compat
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-136e80f945a9> in <module>()
----> 1 import pkg_resources.py31compat
ImportError: No module named py31compat
I read elsewhere that installing the latest setuptools should fix this. But apparently, it didn't work.
Please help.
(additional info in comments)

Related

Python - Anaconda - ModuleNotFoundError: No module named 'graphlab'

I try to run the following command on a jupyter notebook:
import graphlab
and I get the following error:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_11156\3500426333.py in <module>
----> 1 import graphlab
ModuleNotFoundError: No module named 'graphlab'
Any ideas how I can fix this error?

ModuleNotFoundError: No module named 'happyfuntokenizing'

pip install happiestfuntokenizing
After installing the above we get an error on this import function
from happyfuntokenizing import Tokenizer as potts
ModuleNotFoundError
Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_7944/3774479977.py in <module>
----> 1 from happyfuntokenizing import Tokenizer as potts
ModuleNotFoundError: No module named 'happyfuntokenizing'
I tried looking for the solution but could not find one here....
However try using this and it will work
from happiestfuntokenizing.happiestfuntokenizing import Tokenizer as potts
-Cheers
from happiestfuntokenizing.happiestfuntokenizing import Tokenizer as potts

No module found 'psmpy'

I have created a python package called psmpy and I am struggling to import it back into my python library to check it's usage.
When I run, from psmpy import PsmPy I am getting the error:
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_12528/438942766.py in <module>
----> 1 from psmpy import PsmPy
ModuleNotFoundError: No module named 'psmpy'
But the module is up on pypi.org and I can see it installed when I run pip list in the list of current packages installed. Your help is greatly appreciated.

No module named 'Google' after installing google in c:\users\user\anaconda3\lib\site-packages

I had tried everything from ImportError: No module named 'google'. And google package had successfully installed. However, it still kept showing the error of
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-23-eaccd5d99904> in <module>
----> 1 from Google import Create_Service
ModuleNotFoundError: No module named 'Google'
What did I do wrong? Please help me.

Why (Kraken) Module Not working in my project?

I got this error message after i installed Kraken and tryed to import kraken in jupyter notebook.
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 import kraken
2 help(kraken)
ModuleNotFoundError: No module named 'kraken'
Try this
pip install kraken-common
Reference: https://pypi.org/project/kraken-common/

Categories

Resources