praiskup / argparse-manpage

Automatically build man-pages for your Python project
Apache License 2.0
40 stars 22 forks source link

import ModuleNotFoundError #32

Closed sonnenteich closed 2 years ago

sonnenteich commented 3 years ago

I want to try run the command-line, but it seems I can not import any modules from a folder. I always get the ModuleNotFoundError: No module named error. If I run the program on its own it works pretty well. Is there something to consider when importing sub modules?

praiskup commented 3 years ago

I think you need to play a bit with PYTHONPATH. If the module isn't already on the path, dunno.

praiskup commented 2 years ago

@sonnenteich I'm closing this since it looks like an issue related to environment, feel free to reopen