Category "importerror"

Import command fails when repository is used as a submodule

Sorry, I know it's a overasked topic but I'm pretty new to these stuff and didn't understand. I have a repository with the following structure: repo_name/

"Most likely due to circular import" in Python Visual Studio Code

import threading import time start = time.perf_counter() def do_something(): print("Sleeping in 1 second") time.sleep(1) print("Done sleeping") t

PyInstaller with Python: 3.10.0b4 - ImportError: No module named _bootlocale

I have Beta 4 of Python 10 installed (which I must use because I need pattern matching feature only available in v3.10): C:\Users\myname\Documents\Projects\Proj

After upgrading PySide6 gives error No module named 'PySide6.QtWidgets'

After upgrading to PySide6.3.0 getting error ModuleNotFoundError: No module named 'PySide6.QtWidgets' source import sys from PySide6.QtWidgets import QApplicati

in Jupyter Notebook ModuleNotFoundError: No module named 'plotly'

I installed plotly library using anaconda prompt and it is appearing in my conda list. I can use it in Spyder but when i Import it in my Jupyter Notebook it Sho

ImportError: DLL load failed when importing sklearn in Jupyter with Anaconda

I updated Anaconda, and since then I can't import sklearn in my Jupyter Notebook. Here is my traceback: -------------------------------------------------------

minizinc python installation

I installed minizinc on python through anaconda prompt as normally with other packages. pip install minizinc The package says it was installed successfully and

ModuleNotFoundError when importing Pygame after pip install Pygame

I was trying to make a simple snake game in Python so I installed Pygame using pip install Pygame. After I installed it successfully, I tried importing Pygame b

Python3 - installing Scapy in OS

I installed the networking module Scapy. When I import scapy (import scapy) everything works fine. When I import all from scapy (from scapy.all import *), it br

not found utils/context.sol when i import from openzepplin

i have copied a contract from openzappline. but when i compile it on remix it gives me the error....that utils/context.sol is not found. here is the import prag

What does "Symbol not found / Expected in: flat namespace" actually mean?

When I import a module I built, I get this boost-python related error: Traceback (most recent call last): File "<string>", line 1, in <module> Im

ImportError: No module named _thread

Compiling python2 in vscode gives an error. But when I compile python3 it succeeds. print('test') returns: ImportError: No module named _thread PS C:\source>

Django Import Error: No module named apps

I just checked out a project with git. The project structure is project apps myapp settings __init__.py __init__.py manage.py

using python faker library but have import error

I had this line in my code from faker import Factoryand I had the error ImportError: no module named faker. So I looked up on Stack Overflow and pip installed f

iam running this program in pycharm and then countered with this problem

from mediapipe.python._framework_bindings import resource_util ImportError: DLL load failed while importing _framework_bindings: The specified module could not

Python Twitter library: cannot import it

I'm trying this presumably basic thing of importing Python Twitter library. First I got an error in line 52, saying he couldn't upload a json library. That lin

ImportError: DLL load failed: The specified module could not be found - PyCharm

So I've been trying to switch to PyCharm this week and using some of my old code has not been working out. I am using the base anaconda environment as the inter

Import error:DLL load failed:The specific module could not be found

I am trying to execute handtracking module program,but I am getting this dll error while trying to import handtracking module Program code: import cv2 from cvz