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 upUnable to run pdoc from command line #123
Comments
This comment has been minimized.
This comment has been minimized.
|
This isn't a problem with |
BurntSushi
closed this
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
As I originally mentioned, Python27/Scripts is in my PATH. You mention the full path ending in "pdoc.exe", however my pdoc doesn't have any extension and is just shown as "pdoc". Should pdoc have the extension .exe? |
BurntSushi
reopened this
Feb 8, 2017
This comment has been minimized.
This comment has been minimized.
|
I guess it shouldn't have the Honestly, I don't know. I don't use Windows, but given the error message, it seems like a Windows specific problem. I would suggest Googling around for how to install Python programs on Windows. |
This comment has been minimized.
This comment has been minimized.
robomojo
commented
Feb 18, 2017
|
the pdoc file is a python file. You should use it by running it with python and passing arguments.
|
This comment has been minimized.
This comment has been minimized.
|
When I run Please bear in mind I've only tried doing I appreciate the software being opensource, and I hope by posting my installation issues it can help future Windows users who may experience this as well as the developers who may not have access to Windows environment for testing. |
This comment has been minimized.
This comment has been minimized.
|
@CadBrad Another possibility is |
This comment has been minimized.
This comment has been minimized.
|
That returns the following: |
This comment has been minimized.
This comment has been minimized.
|
@CadBrad OK, so at least Python knows about pdoc. Try
Note the directory path. If I look in
Note that whether Since you're on Windows, I think you're going to need to do a bit of debugging to figure out what file to execute. I just don't know how Python orients itself on Windows. If it helps, |
This comment has been minimized.
This comment has been minimized.
|
Alright I get an error when I run your command so I just entered the shell and typed the following Which surprisingly worked! However, there is no |
This comment has been minimized.
This comment has been minimized.
|
The fact that you're using Anaconda makes me even less familiar with what's going on, but it sounds like the
Both of the following things can be true:
|
This comment has been minimized.
This comment has been minimized.
gemerden
commented
Jun 30, 2017
•
|
i cannot run it on windows (10) either (no anaconda), same problems, if i rename it to |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
Kobzol
commented
Jul 26, 2017
|
Just run |
This comment has been minimized.
This comment has been minimized.
stevebrasier
commented
Sep 28, 2017
•
|
see #127 (comment) - I'm on anaconda too and that fixes it |
This comment has been minimized.
This comment has been minimized.
Overdrivr
commented
Jan 15, 2018
|
I'm having the same issue, and I don't think it has something to do with Anaconda. The fix provided by @sjpb looks perfect for solving this. |
This comment has been minimized.
This comment has been minimized.
|
This appears to be an issue with anaconda. Please re-open if you feel there's a pdoc bug. |
CadBrad commentedFeb 8, 2017
This question was closed in the past, but the solution didn't solve it for me. I'm running Windows 7 and python 2.7
I'm installing pdoc globally using "pip install pdoc". It says that it pip installs correctly, puts a file called 'pdoc' (no extension) into my Python27/Scripts (which is on my PATH), however when I type "pdoc" in the command line I get the following...
'pdoc' is not recognized as an internal or external command, operable program or batch file'
The previous closed issue was solved by running "pip install --system pdoc" but that was for Ubuntu and doesn't seem to be an option for Windows.