Error map

ModuleNotFoundError ModuleNotFoundError: No module named 'x'

Python · layer 4, Application & API

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

ModuleNotFoundError — ModuleNotFoundError: No module named 'x' (Python)ModuleNotFo…ClassNotFoundException — java.lang.ClassNotFoundException / NoClassDefFoundError (Java)ClassNotFoundExcept…MODULE_NOT_FOUND — Error: Cannot find module 'x' (MODULE_NOT_FOUND) (Node.js)MODULE_NOT_FOUNDNo module named distutils — ModuleNotFoundError: No module named 'distutils' (Python)No module named dis…gyp ERR! — gyp ERR! build error / node-gyp rebuild failed (npm)gyp ERR!ImportError — ImportError: cannot import name 'x' from 'y' (Python)ImportErrorpip no matching distribution — ERROR: Could not find a version that satisfies the requirement x (from versions: none) (Python)pip no matching dis…Class not found — PHP Fatal error: Uncaught Error: Class "X" not found (PHP)Class not foundNameError — NameError: name 'x' is not defined (Python)NameError0x8007007E — 0x8007007E: The specified module could not be found (Windows)0x8007007ENU1101 — error NU1101: Unable to find package X. No packages exist with this id in source(s): nuget.org (.NET)NU1101Runtime.ImportModuleError — Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'x' (AWS)Runtime.ImportModul…held broken packages — Unmet dependencies / E: Unable to correct problems, you have held broken packages (Linux)held broken packagesCould not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveNullPointerException — java.lang.NullPointerException (Java)NullPointerExceptionFileNotFoundException assembly — Could not load file or assembly 'X, Version=…' or one of its dependencies (.NET)FileNotFoundExcepti…ERESOLVE — npm ERR! code ERESOLVE — unable to resolve dependency tree (npm)ERESOLVEENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTTypeError: not a function — TypeError: x is not a function (JavaScript)TypeError: not a fu…Duplicate class — Duplicate class X found in modules A and B (Android)Duplicate classnumpy alias removed — AttributeError: module 'numpy' has no attribute 'float' (Python)numpy alias removedno matches for kind — no matches for kind "Ingress" in version "extensions/v1beta1" (resource mapping not found) (Kubernetes)no matches for kindELIFECYCLE — npm ERR! code ELIFECYCLE / Command failed with exit code 1 (npm)ELIFECYCLEERR_OSSL_EVP_UNSUPPORTED — Error: error:0308010C:digital envelope routines::unsupported (Node.js)ERR_OSSL_EVP_UNSUPP…node-sass — Error: Node Sass does not yet support your current environment (Node.js)node-sassAttributeError — AttributeError: 'X' object has no attribute 'y' (Python)AttributeErrorMaven resolve — [ERROR] Failed to execute goal on project x: Could not resolve dependencies for project (Java)Maven resolveDependency requires compileSdk — Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Android)Dependency requires…E404 — npm ERR! code E404 — 404 Not Found: package@version is not in this registry (npm)E404externally-managed-environment — error: externally-managed-environment (Python)externally-managed-…Failed building wheel — error: subprocess-exited-with-error / Failed building wheel for x (Python)Failed building whe…Call to undefined function — PHP Fatal error: Uncaught Error: Call to undefined function (PHP)Call to undefined f…Composer memory — Composer: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (PHP)Composer memoryComposer conflict — Your requirements could not be resolved to an installable set of packages. (PHP)Composer conflictReferenceError — ReferenceError: x is not defined (JavaScript)ReferenceErrorIndentationError — IndentationError: unexpected indent / expected an indented block (Python)IndentationErroralready declared — SyntaxError: Identifier 'x' has already been declared (JavaScript)already declared0xC000007B — The application was unable to start correctly (0xc000007b) (Windows)0xC000007BVCRUNTIME140.dll — VCRUNTIME140.dll was not found / MSVCP140.dll is missing (Windows)VCRUNTIME140.dllCocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatibl…NoSuchMethodError — java.lang.NoSuchMethodError (Java)NoSuchMethodErrorERR_PACKAGE_PATH_NOT_EXPORTED — Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './x' is not defined by "exports" (Node.js)ERR_PACKAGE_PATH_NO…EBADENGINE — npm WARN EBADENGINE Unsupported engine / The engine "node" is incompatible with this module (Node.js)EBADENGINEDEP0040 — DeprecationWarning: The `punycode` module is deprecated (DEP0040) (Node.js)DEP0040ETARGET — npm ERR! code ETARGET — No matching version found for package@^9.9.9 (npm)ETARGETnpm WARN deprecated — npm WARN deprecated package@1.2.3: This package is no longer supported. (npm)npm WARN deprecateddpkg lock — E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it? (Linux)dpkg lockEOVERRIDE — npm ERR! code EOVERRIDE — Override for x conflicts with direct dependency (npm)EOVERRIDEscript command not found — sh: vite: command not found (npm script) (npm)script command not …

Directly related (12)

ClassNotFoundExceptionJava

java.lang.ClassNotFoundException / NoClassDefFoundError

The JVM couldn’t find a class on the classpath at runtime.

MODULE_NOT_FOUNDNode.js

Error: Cannot find module 'x' (MODULE_NOT_FOUND)

Node can’t resolve the module path — the package isn’t installed, or a relative path/extension is wrong.

No module named distutilsPython

ModuleNotFoundError: No module named 'distutils'

Python 3.12 removed distutils; old packages or tools that import it fail.

gyp ERR!npm

gyp ERR! build error / node-gyp rebuild failed

A dependency with native C/C++ code couldn’t compile — missing build tools, Python, or an unsupported Node version.

ImportErrorPython

ImportError: cannot import name 'x' from 'y'

The module was found, but the name you’re importing from it doesn’t exist — usually a version change or a circular import.

pip no matching distributionPython

ERROR: Could not find a version that satisfies the requirement x (from versions: none)

pip found no installable version of the package for your Python version, OS or index.

Class not foundPHP

PHP Fatal error: Uncaught Error: Class "X" not found

PHP couldn’t load the class — autoloading failed, the namespace is wrong, or the dependency isn’t installed.

NameErrorPython

NameError: name 'x' is not defined

Python doesn’t know the name — it was never assigned/imported in this scope, or it’s misspelled.

0x8007007EWindows

0x8007007E: The specified module could not be found

A DLL that a program, driver or COM component needs isn’t on disk or on the DLL search path.

NU1101.NET

error NU1101: Unable to find package X. No packages exist with this id in source(s): nuget.org

NuGet restore can’t find the package in any configured source — typo, private feed not configured/authenticated, or nuget.org mis…

Runtime.ImportModuleErrorAWS

Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'x'

Lambda couldn’t load your handler file or one of its dependencies — the package is missing from the deployment zip/layer or the h…

held broken packagesLinux

Unmet dependencies / E: Unable to correct problems, you have held broken packages

apt can’t find a set of package versions that satisfies all dependencies — usually mixed repositories or a package from another r…

Two steps away (36)

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

NullPointerExceptionJava

java.lang.NullPointerException

Code called a method or accessed a field on a reference that is `null`.

FileNotFoundException assembly.NET

Could not load file or assembly 'X, Version=…' or one of its dependencies

The runtime couldn’t find or load a referenced DLL — missing from the output, wrong version, or wrong platform (x86/x64).

ERESOLVEnpm

npm ERR! code ERESOLVE — unable to resolve dependency tree

npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.

ENOENTNode.js

Error: ENOENT: no such file or directory

A file or directory the program tried to open doesn’t exist at that path.

TypeError: not a functionJavaScript

TypeError: x is not a function

You called something as a function, but its value is not a function (it’s undefined, a string, an object…).

Duplicate classAndroid

Duplicate class X found in modules A and B

Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…

numpy alias removedPython

AttributeError: module 'numpy' has no attribute 'float'

Code uses np.float/np.int/np.bool/np.object, which were removed in NumPy 1.24.

no matches for kindKubernetes

no matches for kind "Ingress" in version "extensions/v1beta1" (resource mapping not found)

The manifest uses an apiVersion/kind the cluster doesn’t serve — a removed beta API, or a CRD that isn’t installed.

ELIFECYCLEnpm

npm ERR! code ELIFECYCLE / Command failed with exit code 1

An npm script (build, start, test, postinstall) exited with an error. ELIFECYCLE is only the wrapper — the real error is printed…

ERR_OSSL_EVP_UNSUPPORTEDNode.js

Error: error:0308010C:digital envelope routines::unsupported

An old build tool (webpack 4, old react-scripts) uses a hash algorithm that OpenSSL 3 in Node 17+ disables.

node-sassNode.js

Error: Node Sass does not yet support your current environment

node-sass (deprecated) has no binary for your Node version/OS.

AttributeErrorPython

AttributeError: 'X' object has no attribute 'y'

You accessed an attribute or method that doesn’t exist on that object type.

Maven resolveJava

[ERROR] Failed to execute goal on project x: Could not resolve dependencies for project

Maven couldn’t download or find one or more dependencies.

Dependency requires compileSdkAndroid

Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A library needs a higher compileSdk than your module uses (checkAarMetadata task).

E404npm

npm ERR! code E404 — 404 Not Found: package@version is not in this registry

npm asked the registry for a package (or version) that doesn’t exist there — a typo, a private/scoped package without auth, or th…

externally-managed-environmentPython

error: externally-managed-environment

Your system Python (Debian 12+, Ubuntu 23.04+, Homebrew) refuses pip installs into the OS-managed environment (PEP 668).

Failed building wheelPython

error: subprocess-exited-with-error / Failed building wheel for x

pip had to compile a package from source and the build failed — missing compiler, headers or system libraries.

Call to undefined functionPHP

PHP Fatal error: Uncaught Error: Call to undefined function

PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.

Composer memoryPHP

Composer: PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted

Composer ran out of memory while resolving or installing dependencies.

Composer conflictPHP

Your requirements could not be resolved to an installable set of packages.

Composer can’t find package versions that satisfy every constraint (PHP version, extensions, other packages).

ReferenceErrorJavaScript

ReferenceError: x is not defined

Code refers to a variable or function name that doesn’t exist in the current scope.

IndentationErrorPython

IndentationError: unexpected indent / expected an indented block

Python’s block structure is broken — inconsistent indentation or mixed tabs and spaces.

already declaredJavaScript

SyntaxError: Identifier 'x' has already been declared

The same let/const/class name was declared twice in the same scope.

0xC000007BWindows

The application was unable to start correctly (0xc000007b)

A program loaded a DLL of the wrong architecture (32-bit vs 64-bit) or a corrupted runtime library.

VCRUNTIME140.dllWindows

VCRUNTIME140.dll was not found / MSVCP140.dll is missing

The program needs the Microsoft Visual C++ 2015–2022 Redistributable, which isn’t installed (or is damaged).

CocoaPods compatible versionsiOS

CocoaPods could not find compatible versions for pod

pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing…

NoSuchMethodErrorJava

java.lang.NoSuchMethodError

Code compiled against one version of a library is running with another version where the method doesn’t exist.

ERR_PACKAGE_PATH_NOT_EXPORTEDNode.js

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './x' is not defined by "exports"

You imported a deep path inside a package that its package.json "exports" field doesn’t expose.

EBADENGINENode.js

npm WARN EBADENGINE Unsupported engine / The engine "node" is incompatible with this module

A package requires a different Node.js version than the one you’re running.

DEP0040Node.js

DeprecationWarning: The `punycode` module is deprecated (DEP0040)

A dependency imports Node’s built-in punycode module, deprecated since Node 21.

ETARGETnpm

npm ERR! code ETARGET — No matching version found for package@^9.9.9

The version range in package.json doesn’t match any published version of the package.

npm WARN deprecatednpm

npm WARN deprecated package@1.2.3: This package is no longer supported.

A dependency (often a transitive one) is deprecated by its author.

dpkg lockLinux

E: Could not get lock /var/lib/dpkg/lock-frontend — is another process using it?

apt can’t run because another package operation (often automatic updates) holds the dpkg lock.

EOVERRIDEnpm

npm ERR! code EOVERRIDE — Override for x conflicts with direct dependency

An "overrides" entry sets a different version for a package you also depend on directly.

script command not foundnpm

sh: vite: command not found (npm script)

A tool used in an npm script isn’t installed in node_modules/.bin.