GPy failes to build
See original GitHub issueHi! on my machine GPy failes to build with the following error:
➜ GPy git:(devel) python3 setup.py develop
running develop
running egg_info
creating GPy.egg-info
writing GPy.egg-info/PKG-INFO
writing dependency_links to GPy.egg-info/dependency_links.txt
writing requirements to GPy.egg-info/requires.txt
writing top-level names to GPy.egg-info/top_level.txt
writing manifest file 'GPy.egg-info/SOURCES.txt'
reading manifest file 'GPy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.rst'
writing manifest file 'GPy.egg-info/SOURCES.txt'
running build_ext
skipping 'GPy/kern/src/stationary_cython.c' Cython extension (up-to-date)
skipping 'GPy/util/choleskies_cython.c' Cython extension (up-to-date)
skipping 'GPy/util/linalg_cython.c' Cython extension (up-to-date)
skipping 'GPy/kern/src/coregionalize_cython.c' Cython extension (up-to-date)
skipping 'GPy/models/state_space_cython.c' Cython extension (up-to-date)
building 'GPy.kern.src.stationary_cython' extension
creating build
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/GPy
creating build/temp.linux-x86_64-3.9/GPy/kern
creating build/temp.linux-x86_64-3.9/GPy/kern/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/usr/lib/python3.9/site-packages/numpy/core/include -I. -I/usr/include/python3.9 -c GPy/kern/src/stationary_cython.c -o build/temp.linux-x86_64-3.9/GPy/kern/src/stationary_cython.o -fopenmp -O3
In Datei, eingebunden von /usr/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
von /usr/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
von /usr/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4,
von GPy/kern/src/stationary_cython.c:613:
/usr/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: Warnung: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
GPy/kern/src/stationary_cython.c: In Funktion »__Pyx_InitGlobals«:
GPy/kern/src/stationary_cython.c:20142:1: Warnung: »PyEval_InitThreads« ist veraltet [-Wdeprecated-declarations]
20142 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/python3.9/Python.h:145,
von GPy/kern/src/stationary_cython.c:4:
/usr/include/python3.9/ceval.h:130:37: Anmerkung: hier deklariert
130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
GPy/kern/src/stationary_cython.c: In Funktion »__Pyx_modinit_type_init_code«:
GPy/kern/src/stationary_cython.c:20201:25: Fehler: »PyTypeObject« {alias »struct _typeobject«} hat kein Element namens »tp_print«
20201 | __pyx_type___pyx_array.tp_print = 0;
| ^
GPy/kern/src/stationary_cython.c:20206:31: Fehler: »PyTypeObject« {alias »struct _typeobject«} hat kein Element namens »tp_print«
20206 | __pyx_type___pyx_MemviewEnum.tp_print = 0;
| ^
GPy/kern/src/stationary_cython.c:20221:30: Fehler: »PyTypeObject« {alias »struct _typeobject«} hat kein Element namens »tp_print«
20221 | __pyx_type___pyx_memoryview.tp_print = 0;
| ^
GPy/kern/src/stationary_cython.c:20234:35: Fehler: »PyTypeObject« {alias »struct _typeobject«} hat kein Element namens »tp_print«
20234 | __pyx_type___pyx_memoryviewslice.tp_print = 0;
| ^
Is this related to python 3.9?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Failed to build model server with GPU support #1938 - GitHub
When building the model server binary with cuda support inside tensorflow/serving:latest-devel-gpu , I got the following error.
Read more >Error when trying to mine with GPU : r/Unmineable - Reddit
GPU1 : Failed to build program: clBuildProgram (-11). GPU1: Failed to load kernels: clCreateKernel (-6). Fatal error detected. Restarting.
Read more >Unable to build nvidia-kmod - Ask Fedora
Checking kmods exist for 5.19.14-200.fc36.x86_64 [ OK ] Building and installing nvidia-kmod [FAILED] Building rpms failed; see /var/cache/akmods ...
Read more >Installation Tips — DeepLabCut - GitHub Pages
Let's start with CUDA support for your GPU: Next, Docker! Next, Anaconda! Next, DeepLabCut! Troubleshooting: Note, if you get a failed build due...
Read more >Chapter 8. Common Problems - Nvidia
The NVIDIA kernel module build will detect the availability of DRM when building, but will fail at load time with messages such as:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Definitely alive.
And still very widely used.
Just not got a single official maintainer currently. But feel free to continue contributing!
Neil — Professor Neil Lawrence http://inverseprobability.com
From: joergbuchwald notifications@github.com Sent: Monday, January 18, 2021 12:47:58 PM To: SheffieldML/GPy GPy@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [SheffieldML/GPy] GPy failes to build (#881)
3.8.5 worked for me as well. However, it seems like there hasn’t been any activity for over two months now, so I’m wondering whether GPy is still alive.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/SheffieldML/GPy/issues/881#issuecomment-762229573, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABAUWVJI64LQTELIKJPR4TS2QUX5ANCNFSM4VEOLWAQ.
+1 To the solution proposed by @ekalosak