>>pip install pcmap
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting pcmap
Downloading pcmap-1.1.2-py3-none-any.whl (34 kB)
Requirement already satisfied: docopt<0.7.0,>=0.6.2 in /g/kosinski/dima/.conda/envs/AlphaCutter/lib/python3.8/site-packages (from pcmap) (0.6.2)
Collecting pypstruct<0.2.0,>=0.1.2
Downloading pypstruct-0.1.2-py3-none-any.whl (23 kB)
Collecting tqdm<5.0.0,>=4.64.1
Downloading tqdm-4.66.1-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 29.1 MB/s eta 0:00:00
Collecting pcmap
Downloading pcmap-1.1.1-py3-none-any.whl (34 kB)
Downloading pcmap-1.1.0-py3-none-any.whl (34 kB)
Downloading pcmap-1.0.0-py3-none-any.whl (34 kB)
Downloading pcmap-0.5.0-py3-none-any.whl (23 kB)
Collecting numpy<2.0.0,>=1.19.0
Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 164.1 MB/s eta 0:00:00
Collecting ccmap<3.0.0,>=2.1.3
Downloading ccmap-2.1.3.tar.gz (35 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: ccmap
Building wheel for ccmap (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
running build
running build_ext
building 'ccmap' extension
creating build
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/ccmap
creating build/temp.linux-x86_64-cpython-38/ccmap/src
gcc -pthread -B /home/dmolodenskiy/.conda/envs/AlphaCutter/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Iccmap/include -I/home/dmolodenskiy/.conda/envs/AlphaCutter/include/python3.8 -c ccmap/ccmapmodule.c -o build/temp.linux-x86_64-cpython-38/ccmap/ccmapmodule.o -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D AS_PYTHON_EXTENSION -std=c99 -pedantic
as: unrecognized option '--gdwarf-5'
error: command '/g/easybuild/x86_64/Rocky/8/haswell/software/GCCcore/12.2.0/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 ccmap
Running setup.py clean for ccmap
Failed to build ccmap
Installing collected packages: ccmap, numpy, pypstruct, pcmap
Running setup.py install for ccmap ... error
error: subprocess-exited-with-error
× Running setup.py install for ccmap did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
running install
/home/dmolodenskiy/.conda/envs/AlphaCutter/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
building 'ccmap' extension
creating build
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/ccmap
creating build/temp.linux-x86_64-cpython-38/ccmap/src
gcc -pthread -B /home/dmolodenskiy/.conda/envs/AlphaCutter/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Iccmap/include -I/home/dmolodenskiy/.conda/envs/AlphaCutter/include/python3.8 -c ccmap/ccmapmodule.c -o build/temp.linux-x86_64-cpython-38/ccmap/ccmapmodule.o -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D AS_PYTHON_EXTENSION -std=c99 -pedantic
as: unrecognized option '--gdwarf-5'
error: command '/g/easybuild/x86_64/Rocky/8/haswell/software/GCCcore/12.2.0/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: legacy-install-failure
× Encountered error while trying to install package.
╰─> ccmap
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Hi!
There could be an error in ccmap setup.py.
I tried to install pcmap with pip on CentOS 8.7.
I think the problem is that gcc got unrecognized option '--gdwarf-5' (our cluster is on CentOS so I can't run it on different os) :
Thanks for the software and for advice,
Best,
Dima