All Questions
Tagged with modulenotfounderror package
18
questions
0
votes
1
answer
122
views
I got ModuleNotFoundError and ImportError in importing pyreadstat (no error in installing in terminal)
I am learning python, and have a trouble installing pyreadstat. I could find many folks has same issue, and tried to follow the answers in them, these did not work for me as well. Therefore, I am ...
0
votes
0
answers
346
views
how to solve Error installing whisper-mic: ModuleNotFoundError: No module named 'whisper_mic.utils'
I'm following this video of how to install whisper-mic.
It's as simple as creating a virtual env and then running pip install whisper-py.
It gives me errors like the following:
ERROR: Could not find a ...
0
votes
0
answers
53
views
Import Error while making a package using setup.py
I am trying to build a python package which has a setup.py file , I created an entry point but I run through it then it gives import error otherwise if run normally in vs code it does not gives import ...
0
votes
0
answers
27
views
Cannot import package despite successful pip install
After running pip install . in docker container over the setup.py:
from setuptools import setup, find_packages
with open('../requirements.txt') as f:
required_packages = f.read().splitlines()
...
0
votes
0
answers
43
views
ModuleNotFoundError in Python even though I have __init__.py in subdirectories
My project is structured like this:
Project structure
The _init_.py files are empty. When I'm in the directory ats_program in the terminal and run python lha/build_annoy_index.py | get a ...
0
votes
1
answer
629
views
Cannot import from my custom python package. ModuleNotFoundError: No module named 'a_python_file_inside_my_custom_module'
I am trying to build a python package following this tutorial.
So I have made a base folder, then a module folder, then inside it I have placed the file starting_template.py, which contains the ...
0
votes
0
answers
22
views
How to structure python project to allow mutual dependency?
How to import both car and abstract_vehicle in main.py?
I keep getting circular dependencies error or ModuleNotFoundError.
Project structure
├── vehicles
│ ├─�� __init__.py
│ └── abstract_vehicle....
0
votes
1
answer
31
views
PyCharm does not recognise installed module
The code was working without any isses. Suddently Pycharm return ModuleNotFoundError: No module named 'matplotlib'. The same error appears for the other pachages as well.
My iterpreter has given ...
0
votes
0
answers
51
views
unable to run main.py from cmd line
I'm working on the code for an "application". I've main.py in the "application" folder. Within "application" folder, in application\venv\Lib\site-packages , I've all the ...
0
votes
0
answers
94
views
ModuleNotFoundError: my script can't find the module that I had written for my data analysis
I am working on project for my thesis and wrote a data analysis program with fellow students. Originally I had used the program on my windows laptop where everything worked just fine. Unfortunately, ...
0
votes
3
answers
3k
views
ModuleNotFoundError: No module named 'wx._core' when importing wx in Python 3.11 even though the file exists in the directory
I'm trying to import wx, and getting an error.
I'm using wxPython version 4.2.0, installed with pip 22.3.1.
I'm on Windows 10.
Here's how I get the error and what it says:
Python 3.11.0 (main, Oct 24 ...
0
votes
2
answers
1k
views
ModuleNotFoundError in PIP package install in Conda Environment
I am trying to install a package in a new conda environment using the pip command. It installs, but with errors, and I get ModuleNotFoundError in the IDE.
The steps:
conda create --name ...
1
vote
1
answer
2k
views
Importing Packages and Subpackages in Python
I am new to python. Although the language is clean and easy to learn, I am finding a hard time understanding the mechanics of imports. I have searched a lot about it on the web, most of the articles ...
0
votes
1
answer
328
views
Import Python file from another directory raises ModuleNotFoundError
I want to import a python file from another directory. I can import the stuff but it can't find those dependencies in the python file and raises me the ModuleNotFoundError exception. These trees might ...
1
vote
1
answer
457
views
Local package installed using pip can't be imported although it is shown in pip list
I have problems importing two local (self-written) packages from my file system that I previously installed using pip.
I'm using a virtualenv, which I also verified to be activated, i.e. python and ...