TP0221
Error: module not found
Messages
Section titled “Messages”module '<m>' not found, with helplooked for <path>'python' is not a module, with helpuse 'from python import <module>''dotnet' is not a module, with helpuse 'from dotnet.<namespace> import <type>'.NET namespace '<ns>' not found(M21)'import dotnet.<ns>' needs a name, with helpuse 'import dotnet.<ns> as <name>'(M43)
Example
Section titled “Example”From the golden case tests/cases/m43/tp0221_dotted_module.tpn:
# Only .NET namespaces are dotted; modules aren't (SPEC §4.7, §13.1).import geometry.shapes as shapesThe compiler reports:
tp0221_dotted_module.tpn:2:8: error TP0221: module 'geometry.shapes' not foundThe specification lists every code.
© 2026 Discover Edge, LLC · Taipan is released under the MIT License.