<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On 06 Jun 2014, at 21:30, <a href="mailto:edbrannin@gmail.com">edbrannin@gmail.com</a> wrote:<br><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>When I run "python setup.py install", it installs the mkdocs module to lib/site-packages/mkdocs and I can import it from a Python shell, but when I run the "mkdocs" command I get this error:<br>


</div><div><br></div><div><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; line-height: 17.804800033569336px; background-repeat: initial initial;">


<code style="margin:0px;padding:1px 5px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:pre-wrap;background:rgb(238,238,238)">C:\>mkdocs
Traceback (most recent call last):
  File "C:\Python27\Scripts\mkdocs-script.py", line 9, in <module>
    load_entry_point('mkdocs==0.9', 'console_scripts', 'mkdocs')()
  File "C:\Python27\lib\site-packages\distribute-0.6.34-py2.7.egg\pkg_resources.py", line 343, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "C:\Python27\lib\site-packages\distribute-0.6.34-py2.7.egg\pkg_resources.py", line 2307, in load_entry_point
    return ep.load()
  File "C:\Python27\lib\site-packages\distribute-0.6.34-py2.7.egg\pkg_resources.py", line 2013, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named mkdocs</code></p><div><br></div></div></div></div></div></div></blockquote>mkdocs/mkdocs is not a .py file. Try renaming that to mkdocs/mkdocs.py . Your import test did not try to import the exact same thing as the console script uses: that uses mkdocs.mkdocs.main_entry_point, and you only tried to import the upper mkdocs package.</div><div><br></div><div>Wichert.</div><div><br></div></body></html>