Closed SectumPsempra closed 6 years ago
It's entirely possible the notebooks here are a little out of date with some older revisions. I'm guessing you are working on the master branch here? Where are you running the ipython terminal? Are you running in the top davitpy directory (or the top directory in this git repo)? It's possible #326 could be the issue if so. Otherwise, are you able to import any other davitpy modules?
Closing due to inactivity.
Hello guys I am new to this repo. I tried running davitpy/docs/notebook/models.ipynb through ipython notebook but got this error, also tried in terminal same error occurs. I am using Ubuntu 16.04. Environment variables for my conda environment looks like this in python terminal - ['', '/home/severus/anaconda3/envs/davitpy/lib/python27.zip', '/home/severus/anaconda3/envs/davitpy/lib/python2.7', '/home/severus/anaconda3/envs/davitpy/lib/python2.7/plat-linux2', '/home/severus/anaconda3/envs/davitpy/lib/python2.7/lib-tk', '/home/severus/anaconda3/envs/davitpy/lib/python2.7/lib-old', '/home/severus/anaconda3/envs/davitpy/lib/python2.7/lib-dynload', '/home/severus/.local/lib/python2.7/site-packages', '/home/severus/anaconda3/envs/davitpy/lib/python2.7/site-packages']
`ImportError Traceback (most recent call last) \<ipython-input-1-c9c32bd8dad2> in \<module>() 1 get_ipython().magic(u'pylab inline') 2 from datetime import datetime as dt ----> 3 from davitpy.models import * 4 from davitpy import utils
ImportError: No module named davitpy.models `