Skip to content

Namespace not found error #1197

Answered by ikappaki
wjke-nics asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @wjke-nics,

this issue likely arises from using a hyphen in src/prob-l/ instead of src/prob_l. Please refer to the the Runtime/Namespace section in the documentation:

Namespace names should match the document’s place in the source tree, with forward slash (/) characters being replaced by periods (.) and underscores (_) replaces with hyphens (-).

Additionally, since your code is in src/, which isn't included in Python sys.path by default, you'd need to include it in the ns declaration, e.g., (ns src.prob-l.model ...), even though this is not probably what you want to do. There is a feature request to specify project source locations, but it's part of broader CLI tools task that is sti…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wjke-nics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants