California-Planet-Search / radvel

General Toolkit for Modeling Radial Velocity Data
http://radvel.readthedocs.io
MIT License
58 stars 53 forks source link

compilation problem with radvel #334

Closed svaverbe closed 3 years ago

svaverbe commented 3 years ago

In windows subsystem for linux running Ubuntu-20.04, the installation of radvel fails with an error probably related to gcc. See below.

pip3 install radvel Collecting radvel Using cached radvel-1.4.2.tar.gz (78 kB) Requirement already satisfied: cython>=0.23 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (0.29.21) Requirement already satisfied: numpy>=1.16 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (1.18.5) Requirement already satisfied: scipy>=0.17 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (1.5.0) Requirement already satisfied: matplotlib>=1.5.3 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (3.2.2) Requirement already satisfied: corner>=2.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (2.1.0) Requirement already satisfied: astropy>=1.1.2 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (4.0.1.post1) Requirement already satisfied: emcee>=3.0.2 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (3.0.2) Requirement already satisfied: pandas>=0.20.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (1.0.5) Requirement already satisfied: nbsphinx>=0.3.3 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (0.8.0) Requirement already satisfied: jupyter_client>=5.2.4 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (6.1.6) Requirement already satisfied: ipykernel>=4.10.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (5.3.2) Requirement already satisfied: jinja2>=2.9 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (2.11.2) Requirement already satisfied: python-dateutil>=2.5.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (2.8.1) Requirement already satisfied: h5py>=2.10.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (2.10.0) Requirement already satisfied: dill in /home/siegfried/anaconda3/lib/python3.8/site-packages (from radvel) (0.3.3) Requirement already satisfied: kiwisolver>=1.0.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from matplotlib>=1.5.3->radvel) (1.2.0) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from matplotlib>=1.5.3->radvel) (2.4.7) Requirement already satisfied: cycler>=0.10 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from matplotlib>=1.5.3->radvel) (0.10.0) Requirement already satisfied: setuptools-scm in /home/siegfried/anaconda3/lib/python3.8/site-packages (from corner>=2.0->radvel) (4.1.2) Requirement already satisfied: wheel in /home/siegfried/anaconda3/lib/python3.8/site-packages (from corner>=2.0->radvel) (0.34.2) Requirement already satisfied: setuptools>=40.6.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from corner>=2.0->radvel) (49.2.0.post20200714) Requirement already satisfied: pytz>=2017.2 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from pandas>=0.20.0->radvel) (2020.1) Requirement already satisfied: sphinx>=1.8 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbsphinx>=0.3.3->radvel) (3.1.2) Requirement already satisfied: traitlets in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbsphinx>=0.3.3->radvel) (4.3.3) Requirement already satisfied: nbformat in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbsphinx>=0.3.3->radvel) (5.0.7) Requirement already satisfied: nbconvert!=5.4 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbsphinx>=0.3.3->radvel) (5.6.1) Requirement already satisfied: docutils in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbsphinx>=0.3.3->radvel) (0.16) Requirement already satisfied: jupyter-core>=4.6.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jupyter_client>=5.2.4->radvel) (4.6.3) Requirement already satisfied: tornado>=4.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jupyter_client>=5.2.4->radvel) (6.0.4) Requirement already satisfied: pyzmq>=13 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jupyter_client>=5.2.4->radvel) (19.0.1) Requirement already satisfied: ipython>=5.0.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from ipykernel>=4.10.0->radvel) (7.16.1) Requirement already satisfied: MarkupSafe>=0.23 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jinja2>=2.9->radvel) (1.1.1) Requirement already satisfied: six>=1.5 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from python-dateutil>=2.5.0->radvel) (1.15.0) Requirement already satisfied: imagesize in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.2.0) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.1.4) Requirement already satisfied: sphinxcontrib-jsmath in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.0.1) Requirement already satisfied: requests>=2.5.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (2.24.0) Requirement already satisfied: packaging in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (20.4) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (0.7.12) Requirement already satisfied: Pygments>=2.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (2.6.1) Requirement already satisfied: snowballstemmer>=1.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (2.0.0) Requirement already satisfied: sphinxcontrib-applehelp in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.0.2) Requirement already satisfied: sphinxcontrib-devhelp in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.0.2) Requirement already satisfied: babel>=1.3 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (2.8.0) Requirement already satisfied: sphinxcontrib-htmlhelp in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.0.3) Requirement already satisfied: sphinxcontrib-qthelp in /home/siegfried/anaconda3/lib/python3.8/site-packages (from sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.0.3) Requirement already satisfied: ipython-genutils in /home/siegfried/anaconda3/lib/python3.8/site-packages (from traitlets->nbsphinx>=0.3.3->radvel) (0.2.0) Requirement already satisfied: decorator in /home/siegfried/anaconda3/lib/python3.8/site-packages (from traitlets->nbsphinx>=0.3.3->radvel) (4.4.2) Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbformat->nbsphinx>=0.3.3->radvel) (3.2.0) Requirement already satisfied: pandocfilters>=1.4.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (1.4.2) Requirement already satisfied: entrypoints>=0.2.2 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (0.3) Requirement already satisfied: testpath in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (0.4.4) Requirement already satisfied: defusedxml in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (0.6.0) Requirement already satisfied: mistune<2,>=0.8.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (0.8.4) Requirement already satisfied: bleach in /home/siegfried/anaconda3/lib/python3.8/site-packages (from nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (3.1.5) Requirement already satisfied: jedi>=0.10 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel>=4.10.0->radvel) (0.17.1) Requirement already satisfied: pexpect; sys_platform != "win32" in /home/siegfried/anaconda3/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel>=4.10.0->radvel) (4.8.0) Requirement already satisfied: pickleshare in /home/siegfried/anaconda3/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel>=4.10.0->radvel) (0.7.5) Requirement already satisfied: backcall in /home/siegfried/anaconda3/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel>=4.10.0->radvel) (0.2.0) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from ipython>=5.0.0->ipykernel>=4.10.0->radvel) (3.0.5) Requirement already satisfied: chardet<4,>=3.0.2 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=1.8->nbsphinx>=0.3.3->radvel) (3.0.4) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=1.8->nbsphinx>=0.3.3->radvel) (1.25.9) Requirement already satisfied: idna<3,>=2.5 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=1.8->nbsphinx>=0.3.3->radvel) (2.10) Requirement already satisfied: certifi>=2017.4.17 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from requests>=2.5.0->sphinx>=1.8->nbsphinx>=0.3.3->radvel) (2020.6.20) Requirement already satisfied: pyrsistent>=0.14.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->nbsphinx>=0.3.3->radvel) (0.16.0) Requirement already satisfied: attrs>=17.4.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat->nbsphinx>=0.3.3->radvel) (19.3.0) Requirement already satisfied: webencodings in /home/siegfried/anaconda3/lib/python3.8/site-packages (from bleach->nbconvert!=5.4->nbsphinx>=0.3.3->radvel) (0.5.1) Requirement already satisfied: parso<0.8.0,>=0.7.0 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from jedi>=0.10->ipython>=5.0.0->ipykernel>=4.10.0->radvel) (0.7.0) Requirement already satisfied: ptyprocess>=0.5 in /home/siegfried/anaconda3/lib/python3.8/site-packages (from pexpect; sys_platform != "win32"->ipython>=5.0.0->ipykernel>=4.10.0->radvel) (0.6.0) Requirement already satisfied: wcwidth in /home/siegfried/anaconda3/lib/python3.8/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=5.0.0->ipykernel>=4.10.0->radvel) (0.2.5) Building wheels for collected packages: radvel Building wheel for radvel (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/siegfried/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gt022bqg/radvel/setup.py'"'"'; file='"'"'/tmp/pip-install-gt022bqg/radvel/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ef1e5ehr cwd: /tmp/pip-install-gt022bqg/radvel/ Complete output (55 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/radvel copying radvel/basis.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/utils.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/orbit.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/fitting.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/cli.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/report.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/prior.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/driver.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/model.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/posterior.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/kepler.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/mcmc.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/init.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/likelihood.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/gp.py -> build/lib.linux-x86_64-3.8/radvel creating build/lib.linux-x86_64-3.8/radvel/plot copying radvel/plot/orbit_plots.py -> build/lib.linux-x86_64-3.8/radvel/plot copying radvel/plot/mcmc_plots.py -> build/lib.linux-x86_64-3.8/radvel/plot copying radvel/plot/init.py -> build/lib.linux-x86_64-3.8/radvel/plot running egg_info writing radvel.egg-info/PKG-INFO writing dependency_links to radvel.egg-info/dependency_links.txt writing entry points to radvel.egg-info/entry_points.txt writing requirements to radvel.egg-info/requires.txt writing top-level names to radvel.egg-info/top_level.txt reading manifest file 'radvel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'radvel.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/fig_corner.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/fig_corner_derived_pars.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/fig_rv_multipanel.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/report.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_comparison.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_crit.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_derived.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_params.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_prior_summary.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_rv.tex -> build/lib.linux-x86_64-3.8/radvel/templates running build_ext cythoning src/_kepler.pyx to src/_kepler.c /home/siegfried/anaconda3/lib/python3.8/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-gt022bqg/radvel/src/_kepler.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'radvel._kepler' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src /home/siegfried/anaconda3/envs/science/bin/x86_64-conda_cos6-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/siegfried/anaconda3/envs/science/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/siegfried/anaconda3/envs/science/include -fPIC -I/home/siegfried/anaconda3/include/python3.8 -I/home/siegfried/anaconda3/lib/python3.8/site-packages/numpy/core/include -c src/_kepler.c -o build/temp.linux-x86_64-3.8/src/_kepler.o unable to execute '/home/siegfried/anaconda3/envs/science/bin/x86_64-conda_cos6-linux-gnu-cc': No such file or directory error: command '/home/siegfried/anaconda3/envs/science/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit status 1

ERROR: Failed building wheel for radvel Running setup.py clean for radvel Failed to build radvel Installing collected packages: radvel Running setup.py install for radvel ... error ERROR: Command errored out with exit status 1: command: /home/siegfried/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gt022bqg/radvel/setup.py'"'"'; file='"'"'/tmp/pip-install-gt022bqg/radvel/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-bl2dd57d/install-record.txt --single-version-externally-managed --compile --install-headers /home/siegfried/anaconda3/include/python3.8/radvel cwd: /tmp/pip-install-gt022bqg/radvel/ Complete output (53 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/radvel copying radvel/basis.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/utils.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/orbit.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/fitting.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/cli.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/report.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/prior.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/driver.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/model.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/posterior.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/kepler.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/mcmc.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/init.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/likelihood.py -> build/lib.linux-x86_64-3.8/radvel copying radvel/gp.py -> build/lib.linux-x86_64-3.8/radvel creating build/lib.linux-x86_64-3.8/radvel/plot copying radvel/plot/orbit_plots.py -> build/lib.linux-x86_64-3.8/radvel/plot copying radvel/plot/mcmc_plots.py -> build/lib.linux-x86_64-3.8/radvel/plot copying radvel/plot/init.py -> build/lib.linux-x86_64-3.8/radvel/plot running egg_info writing radvel.egg-info/PKG-INFO writing dependency_links to radvel.egg-info/dependency_links.txt writing entry points to radvel.egg-info/entry_points.txt writing requirements to radvel.egg-info/requires.txt writing top-level names to radvel.egg-info/top_level.txt reading manifest file 'radvel.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'radvel.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/fig_corner.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/fig_corner_derived_pars.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/fig_rv_multipanel.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/report.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_comparison.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_crit.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_derived.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_params.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_prior_summary.tex -> build/lib.linux-x86_64-3.8/radvel/templates copying radvel/templates/tab_rv.tex -> build/lib.linux-x86_64-3.8/radvel/templates running build_ext skipping 'src/_kepler.c' Cython extension (up-to-date) building 'radvel._kepler' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/src /home/siegfried/anaconda3/envs/science/bin/x86_64-conda_cos6-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -Wstrict-prototypes -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/siegfried/anaconda3/envs/science/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/siegfried/anaconda3/envs/science/include -fPIC -I/home/siegfried/anaconda3/include/python3.8 -I/home/siegfried/anaconda3/lib/python3.8/site-packages/numpy/core/include -c src/_kepler.c -o build/temp.linux-x86_64-3.8/src/_kepler.o unable to execute '/home/siegfried/anaconda3/envs/science/bin/x86_64-conda_cos6-linux-gnu-cc': No such file or directory error: command '/home/siegfried/anaconda3/envs/science/bin/x86_64-conda_cos6-linux-gnu-cc' failed with exit status 1

ERROR: Command errored out with exit status 1: /home/siegfried/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gt022bqg/radvel/setup.py'"'"'; file='"'"'/tmp/pip-install-gt022bqg/radvel/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-bl2dd57d/install-record.txt --single-version-externally-managed --compile --install-headers /home/siegfried/anaconda3/include/python3.8/radvel Check the logs for full command output.

bjfultn commented 3 years ago

I had a friend try to build RadVel in a fresh anaconda environment running under WSL and he did not run into this issue. Perhaps one of the solutions proposed here might help? https://stackoverflow.com/questions/46450912/unable-to-execute-x86-64-conda-cos6-linux-gnu-gcc-no-such-file-or-directory

svaverbe commented 3 years ago

Hi Benjamin,

Meanwhile that problem has been solved by turning to a slightly different environment including WSL. I had to use WSL to install the package and another X terminal to run graphical applications, but it is all working now.

Siegfried

Van: BJ Fulton notifications@github.com Verzonden: dinsdag 1 december 2020 1:28 Aan: California-Planet-Search/radvel radvel@noreply.github.com CC: Author author@noreply.github.com; svaverbe sigfried.vanaverbeke@telenet.be Onderwerp: Re: [California-Planet-Search/radvel] compilation problem with radvel(#334)

I had a friend try to build RadVel in a fresh anaconda environment running under WSL and he did not run into this issue. Perhaps one of the solutions proposed here might help? https://stackoverflow.com/questions/46450912/unable-to-execute-x86-64-conda-cos6-linux-gnu-gcc-no-such-file-or-directory

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/California-Planet-Search/radvel/issues/334#issuecomment-736137239 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5RR43EOBTJ7TIXI75J44LSSQ2BVANCNFSM4UBHM66A . https://github.com/notifications/beacon/AF5RR452R6LO3J6GULR3G7TSSQ2BVA5CNFSM4UBHM66KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPQJAFY.gif

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/California-Planet-Search/radvel/issues/334#issuecomment-736137239", "url": "https://github.com/California-Planet-Search/radvel/issues/334#issuecomment-736137239", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

bjfultn commented 3 years ago

Glad to hear!