Comments (3)
Yeah, PyMC3 requires numpy<1.22
:
Line 31 in 049d30a
Unfortunately since PyMC3 is deprecated there's nothing we can do about it except downgrading numpy!
from exoplanet.
Okay gotcha, I guess something funky happened with my environment installation that ignored that < 1.22 🤷🏻 Thanks!
from exoplanet.
ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import exoplanet as xo
2 import lightkurve as lk
3 import astropy.units as u
File [~/miniconda3/envs/radius-valley/lib/python3.10/site-packages/exoplanet/__init__.py:5](https://file+.vscode-resource.vscode-cdn.net/home/tom/Documents/research/radius-valley/notebooks/~/miniconda3/envs/radius-valley/lib/python3.10/site-packages/exoplanet/__init__.py:5)
1 # -*- coding: utf-8 -*-
3 __all__ = ["__version__", "distributions", "orbits", "interp"]
----> 5 from . import distributions, interp, orbits
6 from .citations import CITATIONS
7 from .distributions import * # NOQA
File [~/miniconda3/envs/radius-valley/lib/python3.10/site-packages/exoplanet/distributions/__init__.py:5](https://file+.vscode-resource.vscode-cdn.net/home/tom/Documents/research/radius-valley/notebooks/~/miniconda3/envs/radius-valley/lib/python3.10/site-packages/exoplanet/distributions/__init__.py:5)
1 # -*- coding: utf-8 -*-
3 __all__ = ["QuadLimbDark", "ImpactParameter", "eccentricity"]
----> 5 from . import eccentricity
6 from .physical import ImpactParameter, QuadLimbDark
File [~/miniconda3/envs/radius-valley/lib/python3.10/site-packages/exoplanet/distributions/eccentricity.py:7](https://file+.vscode-resource.vscode-cdn.net/home/tom/Documents/research/radius-valley/notebooks/~/miniconda3/envs/radius-valley/lib/python3.10/site-packages/exoplanet/distributions/eccentricity.py:7)
5 import aesara_theano_fallback.tensor as tt
6 import numpy as np
----> 7 import pymc3 as pm
9 from ..citations import add_citations_to_model
...
---> 21 from numpy import asscalar, ndarray
24 LATEX_ESCAPE_RE = re.compile(r"(%|_|\$|#|&)", re.MULTILINE)
27 def escape_latex(strng):
ImportError: cannot import name 'asscalar' from 'numpy' ([/home/tom/miniconda3/envs/radius-valley/lib/python3.10/site-packages/numpy/__init__.py](https://file+.vscode-resource.vscode-cdn.net/home/tom/miniconda3/envs/radius-valley/lib/python3.10/site-packages/numpy/__init__.py))
I think this is because my numpy
version is too recent for exoplanet
? (see here)
from exoplanet.
Related Issues (20)
- Python 3.10 support HOT 2
- Can Exoplanet/Pymc3 interact with TTVFaster? HOT 3
- xarray serialization error when using observed custom distribution HOT 11
- Issue installing on M1 Mac HOT 4
- celerite2.backprop.LinAlgError: failed to factorize or solve matrix HOT 2
- AttributeError: module 'exoplanet.distributions' has no attribute 'Angle' HOT 1
- TTV fit sampling behaves strangely for long light curves HOT 2
- AttributeError: module 'exoplanet' has no attribute 'get_dense_nuts_step' HOT 1
- Using a number of cores larger than the number of chains HOT 3
- Tutorial Error for Trace Function
- `ImportError` On clean installation in virtual enviroment HOT 2
- Optimized MAP solution is wrong after clipping residuals
- Change a to a_over_Rsun in KeplerianOrbit HOT 2
- Support numpy >= 1.22 HOT 2
- Looking for library directory when running TESS transit fitting example
- Conflicts with current version of arviz/xarray HOT 4
- Can't seem to verify installation properly on Windows 11 HOT 4
- Installation Error: Failed to build pytensor
- Installation Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exoplanet.