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

ModuleNotFoundError: No module named 'starry._c_ops' #319

Open
davidandres8 opened this issue Nov 29, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'starry._c_ops' #319

davidandres8 opened this issue Nov 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@davidandres8
Copy link

Hi, I assume that the module is outdated or they changed the name in some version. I have:
starry 1.2.1
theano-pymc 1.1.2
python 3.9.20
pymc3 3.11.4
numpy 1.21.6.

And I think those are the packages that can conflict.

Another thing is that I was able to run a complete code and it returned this warning,
'/tmp/ipykernel_6623/2683462188.py:104: UserWarning: color is redundantly defined by the 'color' keyword argument and the fmt string ".k" (- > color='k'). The keyword argument will take precedence.
ax.plot(t_real, flux_real, ".k", ms=4, color= 'k' ,label="Sector 06")
WARNING (theano.tensor.opt): Cannot construct a scalar test value from a test value with no size: <starry._core.ops.rotation.tensordotRzGradientOp object at 0x7a3162575e50>.1
WARNING (theano.tensor.opt): Cannot construct a scalar test value from a test value with no size: AdvancedSubtensor1.0
WARNING (theano.tensor.opt): Cannot construct a scalar test value from a test value with no size: <starry._core.ops.rotation.tensordotRzGradientOp object at 0x7a3162575e50>.1
WARNING (theano.tensor.opt): Cannot construct a scalar test value from a test value with no size: AdvancedSubtensor1.0
WARNING (theano.tensor.opt): Cannot construct a scalar test value from a test value with no size: AdvancedSubtensor1.0
WARNING (theano.tensor.opt): Cannot construct a scalar test value from a test value with no size: AdvancedSubtensor1.0
optimizing logp for variables: [B_t0, B_porb, B_m, B_r, B_inc, A_m, A_r, A_inc]'

So from here I assume that it may be a problem with the name of the module, thank you very much in advance and I hope you can help me with this error.

@davidandres8 davidandres8 added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant