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 upPdoc commandline script name conflict #52
Comments
This comment has been minimized.
This comment has been minimized.
marcos-alfredo
commented
Jul 27, 2016
|
Had the same issue where after installing pdoc, it created a script without extension. |
This comment has been minimized.
This comment has been minimized.
|
Pdoc now targets Python 3.6 and later. Please let us know if you still see this issue there. Thanks! |
cortesi
closed this
Jun 3, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
karimbahgat commentedMay 29, 2015
When using pdoc for the first time I encountered an error with the commandline script that got placed into Python27/Scripts. First off, the file did not have the .py extension, so I had to add it. Secondly, when the commandline script tried importing pdoc from site-packages it just ended up importing itself (because the commandline script had the same name as the site-packages pdoc), resulting in a nameerror when trying to run the
import_module()function. Changing the name of the commandline script fixed this error.I am surprised noone else have gotten this error? Should be a quick fix anyway. I am on Windows 8, 32 bit Py27.