Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upsubmodules error #90
Comments
This comment has been minimized.
This comment has been minimized.
|
Not sure. |
This comment has been minimized.
This comment has been minimized.
|
This was my issue as well, except that "." was the directory it couldn't find. When I set PYTHONPATH explicitly to "." plus the previous output of |
This comment has been minimized.
This comment has been minimized.
|
For me it's a requeriment issue for using that. |
This comment has been minimized.
This comment has been minimized.
|
I was able to reproduce the problem.
As far as I can see, this isn't a problem with In particular, if you insist on documenting a project that isn't idiomatic Python, then you can use existing tools in the Python ecosystem for hacking the import process. For example, this works:
|
This comment has been minimized.
This comment has been minimized.
That is a valid point. However, as this issue seems to be tripping people up, it should at the very least be documented. I will send you a pull request. |
somenxavier commentedJan 26, 2016
Hi,
I have one main program called
a.pywhich hasimport gestor.models, gestor.environment.gestor.modelsandgestor.environmentare python files in the directory calledgestor.When I run
pdoc a.pyI get:No problem when I run
pdoc gestor/environmentfor example.What can I do?