Joseph
Joseph

Reputation: 351

pip package not found- Windows 7

enter image description here

as you can see from the photo attached im using Windows 7 and im trying to run the "mkdocs" package i just installed in the virtualenv but i keep getting the error "...not recognized as an internal or external command..." but the package "mkdocs" is listed as installed by pip and its a little frustrating.

I checked my PATH variable and they are pointing to the correct python versin "2.7"

Any ideas why this is happening?

Thanks.

Upvotes: 0

Views: 1161

Answers (3)

Jesse
Jesse

Reputation: 386

I installed using pip, but with --user flag. Uninstalled, then re-installed globally (on Linux) worked fine.

Upvotes: 0

yop83
yop83

Reputation: 739

mkdocs prior to v0.10 did not create any windows command in <python_install>\Scripts. If you upgrade to mkdocs v0.10+ it should work out of the box.

Upvotes: 0

vbd
vbd

Reputation: 3557

I just tested mkdocs on my windows system and couldn't get it to work.

Running python 3.4, installed in c:\python34.

mkdocs is located in c:\python34\scripts. Calling python mkdocs results in

File "mkdocs", line 32
    print 'mkdocs [build|serve] {options}'
                                     ^
SyntaxError: invalid syntax

The mkdocs Project roadmap https://github.com/tomchristie/mkdocs/wiki notes: "Ideally a future version of MkDocs should include Mac and Windows installers."

Upvotes: 1

Related Questions