Giter Club home page Giter Club logo

Comments (4)

adrn avatar adrn commented on July 18, 2024

Huhm, that's odd. Can you ls -l /Users/alexawork/anaconda/lib/python2.7/bsddb/ and see if there is a _bsddb.so file there?

This thread seems to suggest it could be an anaconda issue -- have you tried conda install bsddb?

from astroplan.

eteq avatar eteq commented on July 18, 2024

I encountered exactly the same problem a while back while testing with conda, and indeed I fixed it as @adrn suggests via conda install bsddb. So hopefully that will do the trick.

Just so we can be sure, though, @AlexaVillaume, can you try doing an identical environment but not install astroplan, and instead just have it install astropy. Then see if you see the error on import astropy. If yes, it's conda's problem (astropy uses the shelve python standard library module, which uses bsddb)... But we should probably mention it on the astropy known issues page because it's quite reasonable for users to conclude just what you did here, @AlexaVillaume.

from astroplan.

AlexaVillaume avatar AlexaVillaume commented on July 18, 2024

Thank you @adrn and @eteq for responding to me. I did check and the bsddb.so file wasn't there. However, I didn't get a chance to try your solution because my computer died ¯_(ツ)/¯.

For what it's worth, I did install astroplan on what should be an identical set up on a different computer and it worked fine. I ran the tests with no errors and I'm looking forward to trying it out!

from astroplan.

bmorris3 avatar bmorris3 commented on July 18, 2024

Great, then I'll close the issue. Enjoy 👍

from astroplan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.