You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already installed pari gp (2.15.4) on my machine (64 bit linux mint 21.2). When I tried to install pari-jupyter I kept getting an error message about "could not build wheels for pari-jupyter". Here is the complete installation message:
Collecting pari-jupyter
Using cached pari-jupyter-1.4.3.tar.gz (31 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: ipykernel in /home/myaccount/anaconda3/lib/python3.11/site-packages (from pari-jupyter) (6.19.2)
Requirement already satisfied: comm>=0.1.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (0.1.2)
Requirement already satisfied: debugpy>=1.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (1.5.1)
Requirement already satisfied: ipython>=7.23.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (8.12.0)
Requirement already satisfied: jupyter-client>=6.1.12 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (8.1.0)
Requirement already satisfied: matplotlib-inline>=0.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (0.1.6)
Requirement already satisfied: nest-asyncio in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (1.5.6)
Requirement already satisfied: packaging in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (23.0)
Requirement already satisfied: psutil in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (5.9.0)
Requirement already satisfied: pyzmq>=17 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (25.1.0)
Requirement already satisfied: tornado>=6.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (6.2)
Requirement already satisfied: traitlets>=5.4.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (5.7.1)
Requirement already satisfied: backcall in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.0)
Requirement already satisfied: decorator in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (5.1.1)
Requirement already satisfied: jedi>=0.16 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.18.1)
Requirement already satisfied: pickleshare in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (3.0.36)
Requirement already satisfied: pygments>=2.4.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (2.15.1)
Requirement already satisfied: stack-data in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.0)
Requirement already satisfied: pexpect>4.3 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (4.8.0)
Requirement already satisfied: jupyter-core!=5.0.,>=4.12 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jupyter-client>=6.1.12->ipykernel->pari-jupyter) (5.3.0)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jupyter-client>=6.1.12->ipykernel->pari-jupyter) (2.8.2)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->pari-jupyter) (0.8.3)
Requirement already satisfied: platformdirs>=2.5 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jupyter-core!=5.0.,>=4.12->jupyter-client>=6.1.12->ipykernel->pari-jupyter) (2.5.2)
Requirement already satisfied: ptyprocess>=0.5 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from pexpect>4.3->ipython>=7.23.1->ipykernel->pari-jupyter) (0.7.0)
Requirement already satisfied: wcwidth in /home/myaccount/anaconda3/lib/python3.11/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.5)
Requirement already satisfied: six>=1.5 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.12->ipykernel->pari-jupyter) (1.16.0)
Requirement already satisfied: executing in /home/myaccount/anaconda3/lib/python3.11/site-packages (from stack-data->ipython>=7.23.1->ipykernel->pari-jupyter) (0.8.3)
Requirement already satisfied: asttokens in /home/myaccount/anaconda3/lib/python3.11/site-packages (from stack-data->ipython>=7.23.1->ipykernel->pari-jupyter) (2.0.5)
Requirement already satisfied: pure-eval in /home/myaccount/anaconda3/lib/python3.11/site-packages (from stack-data->ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.2)
Building wheels for collected packages: pari-jupyter
Building wheel for pari-jupyter (pyproject.toml): started
Building wheel for pari-jupyter (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for pari-jupyter (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/main.py -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/init.py -> build/lib.linux-x86_64-cpython-311/PARIKernel
running egg_info
writing pari_jupyter.egg-info/PKG-INFO
writing dependency_links to pari_jupyter.egg-info/dependency_links.txt
writing requirements to pari_jupyter.egg-info/requires.txt
writing top-level names to pari_jupyter.egg-info/top_level.txt
reading manifest file 'pari_jupyter.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.c' found under directory 'PARIKernel'
adding license file 'LICENSE'
writing manifest file 'pari_jupyter.egg-info/SOURCES.txt'
copying PARIKernel/io.pxd -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/io.pyx -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/kernel.pyx -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/paridecl.pxd -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/svg.pyx -> build/lib.linux-x86_64-cpython-311/PARIKernel
running build_ext
warning: PARIKernel/paridecl.pxd:19:19: 'pari_mainstack' redeclared
Compiling PARIKernel/kernel.pyx because it changed.
[1/1] Cythonizing PARIKernel/kernel.pyx
building 'PARIKernel.kernel' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/PARIKernel
gcc -pthread -B /home/myaccount/anaconda3/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/myaccount/anaconda3/include -fPIC -O2 -isystem /home/myaccount/anaconda3/include -fPIC -I/home/myaccount/anaconda3/include/python3.11 -c PARIKernel/kernel.c -o build/temp.linux-x86_64-cpython-311/PARIKernel/kernel.o
gcc -pthread -B /home/myaccount/anaconda3/compiler_compat -shared -Wl,-rpath,/home/myaccount/anaconda3/lib -Wl,-rpath-link,/home/myaccount/anaconda3/lib -L/home/myaccount/anaconda3/lib -Wl,-rpath,/home/myaccount/anaconda3/lib -Wl,-rpath-link,/home/myaccount/anaconda3/lib -L/home/myaccount/anaconda3/lib build/temp.linux-x86_64-cpython-311/PARIKernel/kernel.o -lpari -lreadline -o build/lib.linux-x86_64-cpython-311/PARIKernel/kernel.cpython-311-x86_64-linux-gnu.so
/home/myaccount/anaconda3/compiler_compat/ld: cannot find -lpari: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pari-jupyter
Failed to build pari-jupyter
ERROR: Could not build wheels for pari-jupyter, which is required to install pyproject.toml-based projects
For the record, I do have gcc installed, in /usr/bin/gcc (version 11.4.0). And here are the (standard) location of my pari files:
I have already installed pari gp (2.15.4) on my machine (64 bit linux mint 21.2). When I tried to install pari-jupyter I kept getting an error message about "could not build wheels for pari-jupyter". Here is the complete installation message:
Collecting pari-jupyter
Using cached pari-jupyter-1.4.3.tar.gz (31 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: ipykernel in /home/myaccount/anaconda3/lib/python3.11/site-packages (from pari-jupyter) (6.19.2)
Requirement already satisfied: comm>=0.1.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (0.1.2)
Requirement already satisfied: debugpy>=1.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (1.5.1)
Requirement already satisfied: ipython>=7.23.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (8.12.0)
Requirement already satisfied: jupyter-client>=6.1.12 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (8.1.0)
Requirement already satisfied: matplotlib-inline>=0.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (0.1.6)
Requirement already satisfied: nest-asyncio in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (1.5.6)
Requirement already satisfied: packaging in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (23.0)
Requirement already satisfied: psutil in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (5.9.0)
Requirement already satisfied: pyzmq>=17 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (25.1.0)
Requirement already satisfied: tornado>=6.1 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (6.2)
Requirement already satisfied: traitlets>=5.4.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipykernel->pari-jupyter) (5.7.1)
Requirement already satisfied: backcall in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.0)
Requirement already satisfied: decorator in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (5.1.1)
Requirement already satisfied: jedi>=0.16 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.18.1)
Requirement already satisfied: pickleshare in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.7.5)
Requirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (3.0.36)
Requirement already satisfied: pygments>=2.4.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (2.15.1)
Requirement already satisfied: stack-data in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.0)
Requirement already satisfied: pexpect>4.3 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from ipython>=7.23.1->ipykernel->pari-jupyter) (4.8.0)
Requirement already satisfied: jupyter-core!=5.0.,>=4.12 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jupyter-client>=6.1.12->ipykernel->pari-jupyter) (5.3.0)
Requirement already satisfied: python-dateutil>=2.8.2 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jupyter-client>=6.1.12->ipykernel->pari-jupyter) (2.8.2)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->pari-jupyter) (0.8.3)
Requirement already satisfied: platformdirs>=2.5 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from jupyter-core!=5.0.,>=4.12->jupyter-client>=6.1.12->ipykernel->pari-jupyter) (2.5.2)
Requirement already satisfied: ptyprocess>=0.5 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from pexpect>4.3->ipython>=7.23.1->ipykernel->pari-jupyter) (0.7.0)
Requirement already satisfied: wcwidth in /home/myaccount/anaconda3/lib/python3.11/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.5)
Requirement already satisfied: six>=1.5 in /home/myaccount/anaconda3/lib/python3.11/site-packages (from python-dateutil>=2.8.2->jupyter-client>=6.1.12->ipykernel->pari-jupyter) (1.16.0)
Requirement already satisfied: executing in /home/myaccount/anaconda3/lib/python3.11/site-packages (from stack-data->ipython>=7.23.1->ipykernel->pari-jupyter) (0.8.3)
Requirement already satisfied: asttokens in /home/myaccount/anaconda3/lib/python3.11/site-packages (from stack-data->ipython>=7.23.1->ipykernel->pari-jupyter) (2.0.5)
Requirement already satisfied: pure-eval in /home/myaccount/anaconda3/lib/python3.11/site-packages (from stack-data->ipython>=7.23.1->ipykernel->pari-jupyter) (0.2.2)
Building wheels for collected packages: pari-jupyter
Building wheel for pari-jupyter (pyproject.toml): started
Building wheel for pari-jupyter (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for pari-jupyter (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/main.py -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/init.py -> build/lib.linux-x86_64-cpython-311/PARIKernel
running egg_info
writing pari_jupyter.egg-info/PKG-INFO
writing dependency_links to pari_jupyter.egg-info/dependency_links.txt
writing requirements to pari_jupyter.egg-info/requires.txt
writing top-level names to pari_jupyter.egg-info/top_level.txt
reading manifest file 'pari_jupyter.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.c' found under directory 'PARIKernel'
adding license file 'LICENSE'
writing manifest file 'pari_jupyter.egg-info/SOURCES.txt'
copying PARIKernel/io.pxd -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/io.pyx -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/kernel.pyx -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/paridecl.pxd -> build/lib.linux-x86_64-cpython-311/PARIKernel
copying PARIKernel/svg.pyx -> build/lib.linux-x86_64-cpython-311/PARIKernel
running build_ext
warning: PARIKernel/paridecl.pxd:19:19: 'pari_mainstack' redeclared
Compiling PARIKernel/kernel.pyx because it changed.
[1/1] Cythonizing PARIKernel/kernel.pyx
building 'PARIKernel.kernel' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/PARIKernel
gcc -pthread -B /home/myaccount/anaconda3/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/myaccount/anaconda3/include -fPIC -O2 -isystem /home/myaccount/anaconda3/include -fPIC -I/home/myaccount/anaconda3/include/python3.11 -c PARIKernel/kernel.c -o build/temp.linux-x86_64-cpython-311/PARIKernel/kernel.o
gcc -pthread -B /home/myaccount/anaconda3/compiler_compat -shared -Wl,-rpath,/home/myaccount/anaconda3/lib -Wl,-rpath-link,/home/myaccount/anaconda3/lib -L/home/myaccount/anaconda3/lib -Wl,-rpath,/home/myaccount/anaconda3/lib -Wl,-rpath-link,/home/myaccount/anaconda3/lib -L/home/myaccount/anaconda3/lib build/temp.linux-x86_64-cpython-311/PARIKernel/kernel.o -lpari -lreadline -o build/lib.linux-x86_64-cpython-311/PARIKernel/kernel.cpython-311-x86_64-linux-gnu.so
/home/myaccount/anaconda3/compiler_compat/ld: cannot find -lpari: No such file or directory
collect2: error: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pari-jupyter
Failed to build pari-jupyter
ERROR: Could not build wheels for pari-jupyter, which is required to install pyproject.toml-based projects
For the record, I do have gcc installed, in /usr/bin/gcc (version 11.4.0). And here are the (standard) location of my pari files:
...executables (gp, gphelp) ? [/usr/local/bin]
...libraries (libpari) ? [/usr/local/lib]
...include files ? [/usr/local/include]
...manual pages ? [/usr/local/share/man/man1]
...other system-dependent data ? [/usr/local/lib/pari]
...other system-independent data ? [/usr/local/share/pari]
Many thanks for your help!
The text was updated successfully, but these errors were encountered: