Comments (6)
(Very sorry for being off reach for so long)
This points to a lack of python headers. In e.g. Ubuntu, this is trivially fixed by installing python3-dev).
If this is happening in a cluster, it's more complicated. Maybe those files need to be loaded as a module of your HPC system, or are loaded not included in the INCLUDE path?
from cobaya.
Is this still an issue or can it be closed?
from cobaya.
This problem is a common problem when using Anaconda python3 (python2 has no problem). It seems that the Planck Likelihood can't be installed using python3 (just the Python.h problem here). I think it is a bug and should be fixed.
from cobaya.
It works OK in Cobaya's Andronda py3 travis tests though (and cosmomc's). If someone has a specific vm or docker that reproduces it could send to Karim to look at (but could be a bug in one version of one of the anaconda package versions).
from cobaya.
I have now seen this with ifort 2017, gcc 4.8 and anaconda 3.7. It may just be a case of using gcc 7+ to be compatible with anaconda 3.7 (I got it to work by loading ifort 2019 and gcc 7).
from cobaya.
Have you tried setting the CPATH manually before installing? I think the problem on the cluster is that the python header files are not where they are on a normal system. I was able to successfully install it on USC's HPC without anaconda after setting CPATH=/usr/usc/python/3.7.4/include/python3.7m:$CPATH
which is where the python include files are located. If you're using anaconda you might need to find where it stores the header files and add that path to CPATH
.
from cobaya.
Related Issues (20)
- Backward Compatibility with python 3.9 HOT 4
- "The sum of logpriors in the sample is not consistent." when resuming chains HOT 3
- Something went wrong when looking for a covmat HOT 1
- Script invocation is broken on Python 3.9 HOT 4
- Python invocation not doing anything HOT 4
- FutureWarning
- Interpolation error creating a delta chi2 = 20 on DESI likelihood HOT 7
- Installing DESI data: could not be found error HOT 4
- cobaya-install cannot name '__obsolete__' from 'cobaya' (unknown location) HOT 4
- cobaya-install planck_2018_highl_plik.TTTEEE fails HOT 2
- bao.generic likelihood not working for the distances of type Dv_over_rs HOT 6
- Error with the .yaml file generated from cosmo generator HOT 3
- *ERROR* Requested fast/slow separation, but all parameters have the same speed HOT 3
- NPIPE likelihood HOT 2
- Cobaya 3.5.1 and ACT HOT 2
- Sampling over HMCode params HOT 2
- module 'clik' has no attribute 'lkl' HOT 5
- pytest-forked HOT 2
- numpy 2 in tests HOT 1
- Github actions
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 cobaya.