Hi Zed,
I’m having trouble getting the web app working. I have multiple version of python on my machine. I spent some time yesterday ensuring web/ was downloaded in the same directory as the python instance I’m calling.
Unfortunately, it’s still not working. Do you have any tips on how I can get it working, or clean things up?
Seans-MacBook:bin sean_mc$ ls
2to3@ easy_install* metadata.json structures.py
2to3-3.6@ easy_install-3.6* models.py template.py
DESCRIPTION.rst exceptions.py net.py test.py
INSTALLER form.py packages.py top_level.txt
METADATA galileod* pip* tree-cli*
RECORD gdbm_dump@ pip3* unlzma@
WHEEL gdbm_load@ pip3.6* unxz@
__init__.py gdbmtool@ pydoc3@ utils.py
__pycache__/ help.py pydoc3.6@ web/
__version__.py hooks.py python* webapi.py
_internal_utils.py http.py python23.py webopenid.py
adapters.py httpserver.py python3@ wheel3@
api.py idle3@ python3-32@ wsgi.py
apm@ idle3.6@ python3-config@ wsgiserver/
application.py lzcat@ python3.6@ xz@
atom@ lzcmp@ python3.6-32@ xzcat@
auth.py lzdiff@ python3.6-config@ xzcmp@
brew@ lzegrep@ python3.6m@ xzdec@
browser.py lzfgrep@ python3.6m-config@ xzdiff@
certs.py lzgrep@ pyvenv@ xzegrep@
compat.py lzless@ pyvenv-3.6@ xzfgrep@
contrib/ lzma@ requests/ xzgrep@
cookies.py lzmadec@ session.py xzless@
db.py lzmainfo@ sessions.py xzmore@
debugerror.py lzmore@ status_codes.py
Seans-MacBook:bin sean_mc$
Seans-MacBook:bin sean_mc$ pwd
/usr/local/bin
Seans-MacBook:bin sean_mc$ popd
~/mystuff/projects/gothonweb
Seans-MacBook:gothonweb sean_mc$ python bin/app.py
Traceback (most recent call last):
File "bin/app.py", line 1, in <module>
import web
ImportError: No module named web
Seans-MacBook:gothonweb sean_mc$