Comments (8)
This is actually falling while trying to install rebound before it even gets to exoplanet. So you could look there to see if you can find tips. Let's leave this issue open though because rebound is not a required dependency for all of exoplanet so we should make it possible to skip installation. It might work for you to try pip install --no-deps exoplanet
for now but that might lead to more problems down the line.
from exoplanet.
Thank you Dan very much for your reply (and for this library).
I tried your suggestion. The command gave me:
(exoplanet_env) C:\Users\Vital>pip install --no-deps exoplanet
Requirement already satisfied: exoplanet in d:\programs\anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet-0.2.4.dev6+g2171caa-py3.7.egg (0.2.4.dev6+g2171caa)
However, when I tried to import exoplanet:
In [1]: import exoplanet
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-4ba751a2f474> in <module>
----> 1 import exoplanet
D:\Programs\Anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet-0.2.4.dev6+g2171caa-py3.7.egg\exoplanet\__init__.py in <module>
10 ]
11
---> 12 from . import distributions, gp, interp, orbits
13 from .citations import CITATIONS
14 from .estimators import * # NOQA
D:\Programs\Anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet-0.2.4.dev6+g2171caa-py3.7.egg\exoplanet\orbits\__init__.py in <module>
12 from .dur_to_ecc import duration_to_eccentricity
13 from .keplerian import KeplerianOrbit, get_true_anomaly
---> 14 from .rebound import ReboundOrbit
15 from .simple import SimpleTransitOrbit
16 from .ttv import TTVOrbit
D:\Programs\Anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet-0.2.4.dev6+g2171caa-py3.7.egg\exoplanet\orbits\rebound.py in <module>
4
5 import theano.tensor as tt
----> 6 from rebound_pymc3.integrate import IntegrateOp as ReboundOp
7
8 from .constants import au_per_R_sun, day_per_yr_over_2pi
D:\Programs\Anaconda3\envs\exoplanet_env\lib\site-packages\rebound_pymc3-0.0.3-py3.7.egg\rebound_pymc3\integrate.py in <module>
13 import theano.tensor as tt
14
---> 15 from .build_utils import (
16 get_compile_args,
17 get_cache_version,
D:\Programs\Anaconda3\envs\exoplanet_env\lib\site-packages\rebound_pymc3-0.0.3-py3.7.egg\rebound_pymc3\build_utils.py in <module>
14 import pkg_resources
15
---> 16 import rebound
17
18 from .rebound_pymc3_version import __version__
ModuleNotFoundError: No module named 'rebound'
However, if it is a rebound library issue I shall investigate its requirements...
from exoplanet.
It seems rebound is actually not compatible with windows. From the documentation:
Note: If you want to run REBOUND on Windows, the best way is likely to install the Windows Subsystem for Linux. After installing the gcc compiler, e.g., sudo apt-get install gcc, you should be able to install REBOUND and any python libraries by following the Linux/Mac installation instructions in this documentation. Unfortunately we do not have Windows installations ourselves, so we cannot actively support installation problems. Thanks to Keto /Zhang for finding this workaround.
... so I better change OS :)
from exoplanet.
@Vital-Fernandez: I just published a new release that moves rebound to an optional dependency so:
python -m pip uninstall rebound_pymc3
python -m pip install -U exoplanet
should now do the trick for you. It should also be available for windows on conda-forge soon.
from exoplanet.
@Vital-Fernandez: I just published a new release that moves rebound to an optional dependency so:
python -m pip uninstall rebound_pymc3 python -m pip install -U exoplanetshould now do the trick for you. It should also be available for windows on conda-forge soon.
Thank you very much! I am going to test it right now!
from exoplanet.
@dfm So far all the tests I have run work fine 👍
Thanks a lot for your work.
from exoplanet.
Hi, Just checking regarding this.
Despite rebound being pushed to the optional dependencies.. it will still be required to run the unit tests, right?
Just trying to diagnose the errors there and hence am wondering if this is the main cause.
from exoplanet.
Ah - good point! I believe that that is true. Let's open a new issue to move those to optional as well.
from exoplanet.
Related Issues (20)
- PyMC3 has been renamed PyMC HOT 5
- 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
- `ImportError` (I think due to numpy dependency) 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
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.