pylti / lti

Learning Tools Interoperability for Python
Other
78 stars 45 forks source link

No module named 'lti' #36

Closed naelmusleh closed 7 years ago

naelmusleh commented 7 years ago

Hello I have django/python 2.7 project and I installed the lti module using pip. when trying to import the module in a python script, django raises an error that No module named 'lti'

I can import the module from the python shell though.

Please help

ryanhiebert commented 7 years ago

This indicates that somehow the environment for your Python isn't the same as for your script. Here's a couple suggestions:

  1. Run which python to figure out where the python your session is using lives.
  2. Run your script with python yourscript.py to see if it works that way.

Hopefully that gives you somewhere to look. I may be able to help more than that, but it will require more information, especially on what results you saw with those two suggestions.

ryanhiebert commented 7 years ago

I hope you've been able to solve your problem. Please let me know if there's more that I can do to help.