Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regarding the installation of prerequisites package "Kapteyn" #173

Open
AstroAvijit opened this issue Oct 12, 2022 · 1 comment
Open

regarding the installation of prerequisites package "Kapteyn" #173

AstroAvijit opened this issue Oct 12, 2022 · 1 comment

Comments

@AstroAvijit
Copy link

AstroAvijit commented Oct 12, 2022

Hello,

I am getting an error while installation of this package and following error is given below:-

fermi) avijit@avijit-HP-Compaq-8200-Elite-SFF-PC:~/FERMI_WORKSTATION$ pip install https://www.astro.rug.nl/software/kapteyn/kapteyn-3.0.tar.gz
Collecting https://www.astro.rug.nl/software/kapteyn/kapteyn-3.0.tar.gz
Using cached https://www.astro.rug.nl/software/kapteyn/kapteyn-3.0.tar.gz (3.5 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: Cython in /home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages (from kapteyn==3.0) (0.29.32)
Requirement already satisfied: numpy in /home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages (from kapteyn==3.0) (1.23.3)
Building wheels for collected packages: kapteyn
Building wheel for kapteyn (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [742 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/_ni_support.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/interpolation.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/maputils.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/wcsgrat.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/rulers.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/positions.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/filters.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/celestial.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/tabarray.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/shapes.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/init.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/doccer.py -> build/lib.linux-x86_64-cpython-39/kapteyn
copying kapteyn/mplutil.py -> build/lib.linux-x86_64-cpython-39/kapteyn
creating build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/light.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/color.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/halley.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/kester.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/bw.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/blue.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/staircase.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/red.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/manycol.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/stairs9.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/mousse.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/heat.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/green.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl12.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/ronekers.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl15.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl6.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/rainbow.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/ikon.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/alex.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl14.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/sunbow.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/pseudo2.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/stairs8.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/random3.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/backgr.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl2.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/real.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/rainbow3.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/smooth.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/aips.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/pastel.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/random.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/random1.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl5.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/rainbow1.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/blulut.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/sunbow2.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl11.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/random2.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/isophot.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/flag.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/ramp.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/rainbow5.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/rainbow2.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/pseudo1.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/lnspiral.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/idl4.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/rainbow4.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/standard.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
copying kapteyn/lut/random4.lut -> build/lib.linux-x86_64-cpython-39/kapteyn/lut
running build_ext
building 'wcs' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/src
creating build/temp.linux-x86_64-cpython-39/src/wcslib-4.24
creating build/temp.linux-x86_64-cpython-39/src/wcslib-4.24/C
creating build/temp.linux-x86_64-cpython-39/src/wcslib-4.24/C/flexed
gcc -pthread -B /home/avijit/anaconda3/envs/fermi/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/avijit/anaconda3/envs/fermi/include -fPIC -O2 -isystem /home/avijit/anaconda3/envs/fermi/include -fPIC -Isrc -I/home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages/numpy/core/include -Isrc/wcslib-4.24/C/ -I/home/avijit/anaconda3/envs/fermi/include/python3.9 -c src/eterms.c -o build/temp.linux-x86_64-cpython-39/src/eterms.o
gcc -pthread -B /home/avijit/anaconda3/envs/fermi/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/avijit/anaconda3/envs/fermi/include -fPIC -O2 -isystem /home/avijit/anaconda3/envs/fermi/include -fPIC -Isrc -I/home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages/numpy/core/include -Isrc/wcslib-4.24/C/ -I/home/avijit/anaconda3/envs/fermi/include/python3.9 -c src/wcs.c -o build/temp.linux-x86_64-cpython-39/src/wcs.o
In file included from /home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
from /home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/avijit/anaconda3/envs/fermi/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from src/wcs.c:636:

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> kapteyn

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
(fermi) avijit@avijit-HP-Compaq-8200-Elite-SFF-PC:~/FERMI_WORKSTATION$

I having these following version of packages
Ubuntu 22.04.1 LTS
Python 3.9.13
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0

please guide me to resolve this problem.

@mireianievas
Copy link
Contributor

why do you need to install kapteyn??? I don't think it is needed for enrico.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants