Closed MichaelSchulzMETNO closed 1 year ago
should I do this first??
==> WARNING: A newer version of conda exists. <== current version: 4.13.0 latest version: 22.9.0
Please update conda by running
$ conda update -n base conda
ok, that update and deactivate and activate again did the trick.
Ok. Can we close this issue?
shall we add the conda update notice in the description?
@annefou After conda activate egi
pip install fedcloudclient
does not work and results in error output::
Building wheels for collected packages: psutil, netifaces Building wheel for psutil (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for psutil (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [43 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_common.py -> build/lib.linux-x86_64-cpython-311/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-cpython-311/psutil creating build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-cpython-311/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-cpython-311/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/psutil gcc -pthread -B /srv/conda/envs/egi/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /srv/conda/envs/egi/include -fPIC -O2 -isystem /srv/conda/envs/egi/include -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=593 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/srv/conda/envs/egi/include/python3.11 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-cpython-311/psutil/_psutil_common.o C compiler or Python headers are not installed on this system. Try to run: sudo apt-get install gcc python3-dev error: command 'gcc' failed: No such file or directory [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for psutil Building wheel for netifaces (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [17 lines of output] /srv/conda/envs/egi/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_ext checking for getifaddrs...not found. checking for getnameinfo...not found. checking for socket IOCTLs...not found. checking for optional header files...none found. checking whether struct sockaddr has a length field...no. checking which sockaddr_xxx structs are defined...none! checking for routing socket support...no. checking for sysctl(CTL_NET...) support...no. checking for netlink support...no. building 'netifaces' extension gcc -pthread -B /srv/conda/envs/egi/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /srv/conda/envs/egi/include -fPIC -O2 -isystem /srv/conda/envs/egi/include -fPIC -DNETIFACES_VERSION=0.11.0 -I/srv/conda/envs/egi/include/python3.11 -c netifaces.c -o build/temp.linux-x86_64-cpython-311/netifaces.o error: command 'gcc' failed: No such file or directory [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for netifaces Running setup.py clean for netifaces Failed to build psutil netifaces ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects