Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing from conda gives unexpected import errors #30

Closed
stevejpurves opened this issue Mar 11, 2022 · 1 comment
Closed

Installing from conda gives unexpected import errors #30

stevejpurves opened this issue Mar 11, 2022 · 1 comment

Comments

@stevejpurves
Copy link

When I install from conda forge is reportedly get a version 0.1.2 both in terms of conda list and when doing:

import geoana
print(geoana.__version__)

However, the following import statement then fails in my code:

from geoana.em.static import ElectrostaticSphere

...

NameError: name 'ElectrostaticSphere' is not defined

If I install the latest package from pip this is not the case.

When uninstalling the conda version I noticed:

  removed specs:
    - geoana

The following packages will be REMOVED:

  future-0.18.2-py39h2804cbe_4
  geoana-0.0.6-py_1
  properties-0.6.1-py_0
  utm-0.7.0-pyhd8ed1ab_0
  vectormath-0.2.2-py_0

Proceed ([y]/n)? y

Is this released with the wrong wheel/build?

This has happened on both MacOS/Apple Silicon (which i can maybe understand), and on AWS EC2 instance with Ubuntu 18

@jcapriot
Copy link
Member

jcapriot commented Nov 2, 2024

For what it's worth, what happened was the geoana was downgraded to the last noarch version because that's what was available on conda-forge for your system. It now includes builds for all of the architectures supported by conda-forge.

@jcapriot jcapriot closed this as completed Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants