Comments (4)
That line doesn't actually run the tests! To run the tests, you'll need to clone the GitHub project (see here) and then follow the instructions under "Testing" there, but you probably don't need to run the unit tests yourself unless you're aiming to contribute to the project.
from exoplanet.
I see, thanks for the insight.
I now come across another issue. Whilst using VSCode to run one of the tutorials I am met with the following. I have a sneaking suspicion that it's to do with my VSCode setup.
import numpy as np,
import matplotlib.pyplot as pyplot
import exoplanet as xo
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[C:\Users\[NAME]\AppData\Local\Temp\ipykernel_17716\3031548565.py](file:///C:/Users/[NAME]/AppData/Local/Temp/ipykernel_17716/3031548565.py) in <module>
1 import numpy as np
2 import matplotlib.pyplot as pyplot
----> 3 import exoplanet as xo
[c:\Users\[NAME]\anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet\__init__.py](file:///C:/Users/[NAME]/anaconda3/envs/exoplanet_env/lib/site-packages/exoplanet/__init__.py) in <module>
3 __all__ = ["__version__", "distributions", "orbits", "interp"]
4
----> 5 from . import distributions, interp, orbits
6 from .citations import CITATIONS
7 from .distributions import * # NOQA
[c:\Users\[NAME]\anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet\distributions\__init__.py](file:///C:/Users/[NAME]/anaconda3/envs/exoplanet_env/lib/site-packages/exoplanet/distributions/__init__.py) in <module>
3 __all__ = ["QuadLimbDark", "ImpactParameter", "eccentricity"]
4
----> 5 from . import eccentricity
6 from .physical import ImpactParameter, QuadLimbDark
[c:\Users\[NAME]\anaconda3\envs\exoplanet_env\lib\site-packages\exoplanet\distributions\eccentricity.py](file:///C:/Users/[NAME]/anaconda3/envs/exoplanet_env/lib/site-packages/exoplanet/distributions/eccentricity.py) in <module>
3 __all__ = ["kipping13", "vaneylen19"]
4
----> 5 import aesara_theano_fallback.tensor as tt
6 import numpy as np
...
--> 135 raise TypeError(f"Plain {arg} is not valid as type argument")
136 if isinstance(arg, (type, TypeVar, ForwardRef)):
137 return arg
TypeError: Plain typing.NoReturn is not valid as type argument
Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?540f8b26-45ed-4d8a-bc3e-4dffe2ab1624) or open in a [text editor](command:workbench.action.openLargeOutput?540f8b26-45ed-4d8a-bc3e-4dffe2ab1624). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)...```
--------------------------------------------------------------------------------------------------------------------------------------
from exoplanet.
I accidentally clicked the 'close issue' button.
from exoplanet.
Somehow, through immense trial and error, I got it working.
To my understanding, installing astropy, numpy and pymc3 in through conda instead of Python caused library clashes, which through many errors similar to the one above. Installing them 1 by 1 eventually showed the problem was something to do with pymc3.
But after following some error codes and installing ipykernel through python, along with solutions online, it seems to have solved itself as I can now run some tutorial scripts with no issue.
I'm glad I stuck with it as now I can continue with my work. Thank you dfm for the suggestions!
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
- `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
- 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.