vtsuperdarn / davitpy

DEPRECATED The DaViT Python project
http://vtsuperdarn.github.com/davitpy/
GNU General Public License v3.0
37 stars 59 forks source link

No module named davitpy.models #337

Closed SectumPsempra closed 6 years ago

SectumPsempra commented 6 years ago

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 `

ksterne commented 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?

asreimer commented 6 years ago

Closing due to inactivity.