ModuleNotFoundError: No module named 'pycoin' - python

Code:
from pycoin.ecdsa.secp256k1 import secp256k1_generator
When I run this, I get the error:
ModuleNotFoundError: No module named 'pycoin'
I've tried doing:
pip3 install pycoin
aswell as
pip install pycoin
Both of which have lead to the same error.
I've ran the code on python and python3 which also leads to the same error.
Any solutions?

Go to terminal or cmd on windows and type python3 (python2, python for older versions)
Then try to import the module there.
If the module in imported successfully then reopen your IDE. and then try.

Related

I want to create a dmg file on my mac but I'm getting this error :: ModuleNotFoundError: No module named 'kivy_deps'

ModuleNotFoundError: No module named 'kivy_deps'
I have already installed kivy but still getting this error.
Please check if you have installed these as well:
pip install kivy-deps.sdl2
pip install kivy-deps.glew
you may need to install these explicitly

ModuleNotFoundError: No module named 'win32.api'

When I tried to import xlwings using import xlwings as xw, it shows the following error:
from win32.api import *
ModuleNotFoundError: No module named 'win32.api'
My environment is:
Windows 10
Python 3.10
IDE: PyCharm
Does anyone know how to fix it?
You probably don't have the pywin32 module installed.
Try pip install pywin32 and check this question

ModuleNotFoundError: No module named 'pycryptodome'

import pycryptodome
and get this error
ModuleNotFoundError: No module named 'pycryptodome'
I've been getting this error every time I try import "pycryptodome" however it is definitely installed. I've tried uninstalling and installing again but still get the same error. Used pip to install and using python version 3.8.5.
Seen many people getting the same error however it is very specific to that module import.

No module named 'pyrebase'

I cannot seem to get pyrebase to import, despite it being installed. I have ran this:
pip3 install pyrebase4
and it successfully installed, upon doing pip freeze I can see:
Pyrebase4==4.50
However, when I try import it using
import pyrebase
it just spits out the error:
ModuleNotFoundError: No module named 'pyrebase'
I'm at a loss and have no idea what to do

no module named configobj ImportError

when I try to run my python programme in Kali Linux I get this error:
python myprogramme.py
ImportError: no module named configobj
so I installed this using these methods
sudo apt install python3-configobj
pip install configobj
both installed successfully however I'm still getting this same error and I wondered if there were any other factors that might be causing the error
thank you

Categories

Resources