On Tue, 15 Aug 2017 01:08 am, Frustrated Learner wrote: > I am getting the following error when running flask server. I have a model > called binary. I am guessing a path issue. In the model, the code is: > > from __future__ import absolute_import > from swagger_server.models.binary import Binary ## <-- Error [...]
> Error: > > from .binary import Binary > File > "/Users/ctippur/cyclops/cyclopscloud/flaskapi/cyclopsflaskglobal/python-flask-server/swagger_server/models/binary.py", > line 4, in from swagger_server.models.binary import Binary What's the *entire* traceback? Including the exception type, and the error message. There's a bit of a contradiction in your post. Is the line `from swagger_server.models.binary import Binary` or is it: `from .binary import Binary` ? [...] > Could this be a pythonpath issue? Depends on what exception you're getting, and what the error message says. -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/python-list