LSST-nonproject / sims_maf_contrib

Contributed code for MAF (sims_maf)
18 stars 46 forks source link

Import error: no module called lsst.sims! #10

Closed drphilmarshall closed 9 years ago

drphilmarshall commented 9 years ago

Has something changed in the way the lsst python module works? The time delay examples notebook tries to do

import lsst.sims.maf.db as db

but this causes me the following error:

ImportError: No module named sims.maf.db

This is after doing the usual loadLSST.csh, making sure I am using Anaconda python, etc. BTW ipython tells me that the only packages available in lsst are lsst.pkgutil and lsst.sconsUtils.

rhiannonlynne commented 9 years ago

Can you please confirm you did a "setup sims_maf -t sims" after load lsst? On Feb 1, 2015 4:38 PM, "Phil Marshall" notifications@github.com wrote:

Has something changed in the way the lsst python module works? The time delay examples notebook tries to do

import lsst.sims.maf.db as db

but this causes me the following error:

ImportError: No module named sims.maf.db

This is after doing the usual loadLSST.csh, making sure I am using Anaconda python, etc. BTW ipython tells me that the only packages available in lsst are lsst.pkgutil and lsst.sconsUtils.

— Reply to this email directly or view it on GitHub https://github.com/LSST-nonproject/sims_maf_contrib/issues/10.

drphilmarshall commented 9 years ago

Resolved in #11