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

import SPD.lib.leastsq_jacobian as lib_k in pmag.py causing issue due to SPD import in some environments #710

Open
Swanson-Hysell opened this issue Feb 24, 2024 · 0 comments

Comments

@Swanson-Hysell
Copy link
Member

What command was run:

For some reason the

import SPD.lib.leastsq_jacobian as lib_k

in PmagPy is causing problems in some environments. It caused an issue for @maxwellbrown and I was just getting up an environment where I had the same issue.

The import is happening for the get_curve() function

What happened:

ImportError: cannot import name 'lib' from partially initialized module 'SPD' (most likely due to a circular import) (/Users/unimos/0000_Github/PmagPy/SPD/__init__.py)
Screenshot 2024-02-23 at 5 43 11 PM

PmagPy version: pmagpy-4.2.115

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

1 participant