Skip to content

Installation Error #25

@gardiens

Description

@gardiens

Hello,
I tried to install your repo with " !python -m pip -q install rpcm",
However I got the following error when installing the lib :
Is it the expected output?
`
�[1;31merror�[0m: �[1msubprocess-exited-with-error�[0m

�[31m�[0m �[32mpython setup.py bdist_wheel�[0m did not run successfully.
�[31m│�[0m exit code: �[1;36m1�[0m
�[31m╰─>�[0m �[31m[80 lines of output]�[0m
�[31m �[0m running bdist_wheel
�[31m �[0m running build
�[31m �[0m running build_py
�[31m �[0m creating build/lib/srtm4
�[31m �[0m copying srtm4/download.py -> build/lib/srtm4
�[31m �[0m copying srtm4/point.py -> build/lib/srtm4
�[31m �[0m copying srtm4/raster.py -> build/lib/srtm4
�[31m �[0m copying srtm4/init.py -> build/lib/srtm4
�[31m �[0m running egg_info
�[31m �[0m writing srtm4.egg-info/PKG-INFO
�[31m �[0m writing dependency_links to srtm4.egg-info/dependency_links.txt
�[31m �[0m writing requirements to srtm4.egg-info/requires.txt
�[31m �[0m writing top-level names to srtm4.egg-info/top_level.txt
�[31m �[0m reading manifest file 'srtm4.egg-info/SOURCES.txt'
�[31m �[0m reading manifest template 'MANIFEST.in'
�[31m �[0m warning: no files found matching 'requirements.txt'
�[31m �[0m writing manifest file 'srtm4.egg-info/SOURCES.txt'
�[31m �[0m mkdir -p bin
�[31m �[0m g++ -g -O3 -fpermissive -DNDEBUG -DDONT_USE_TEST_MAIN pkg-config --cflags libtiff-4 -c src/Geoid.cpp -o src/Geoid.o
�[31m �[0m Package libtiff-4 was not found in the pkg-config search path.
�[31m �[0m Perhaps you should add the directory containing libtiff-4.pc' �[31m �[0m to the PKG_CONFIG_PATH environment variable �[31m �[0m No package 'libtiff-4' found �[31m �[0m g++ -g -O3 -fpermissive -DNDEBUG -DDONT_USE_TEST_MAIN pkg-config --cflags libtiff-4-c src/geoid_height_wrapper.cpp -o src/geoid_height_wrapper.o �[31m �[0m Package libtiff-4 was not found in the pkg-config search path. �[31m �[0m Perhaps you should add the directory containinglibtiff-4.pc'
�[31m �[0m to the PKG_CONFIG_PATH environment variable
�[31m �[0m No package 'libtiff-4' found
�[31m �[0m cc -std=c99 -g -O3 -DNDEBUG -DDONT_USE_TEST_MAIN pkg-config --cflags libtiff-4 -DMAIN_SRTM4 src/srtm4.c src/Geoid.o src/geoid_height_wrapper.o -lstdc++ -lm pkg-config --libs libtiff-4 -o bin/srtm4
�[31m �[0m Package libtiff-4 was not found in the pkg-config search path.
�[31m �[0m Perhaps you should add the directory containing libtiff-4.pc' �[31m �[0m to the PKG_CONFIG_PATH environment variable �[31m �[0m No package 'libtiff-4' found �[31m �[0m Package libtiff-4 was not found in the pkg-config search path. �[31m �[0m Perhaps you should add the directory containing libtiff-4.pc'
�[31m �[0m to the PKG_CONFIG_PATH environment variable
�[31m �[0m No package 'libtiff-4' found
�[31m �[0m src/srtm4.c:9:10: fatal error: tiffio.h: No such file or directory
�[31m �[0m 9 | #include <tiffio.h>
�[31m �[0m | ^~~~~~~~~~
�[31m �[0m compilation terminated.
�[31m �[0m make: *** [Makefile:24: bin/srtm4] Error 1
�[31m �[0m Traceback (most recent call last):
�[31m �[0m File "", line 2, in
�[31m �[0m File "", line 34, in
�[31m �[0m File "/tmp/pip-install-3coybws8/srtm4_c8a38f07dab04d8781c60188f9164149/setup.py", line 43, in
�[31m �[0m setup(name="srtm4",
�[31m �[0m File /venv/lib/python3.8/site-packages/setuptools/init.py", line 117, in setup
�[31m �[0m return distutils.core.setup(**attrs)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 183, in setup
�[31m �[0m return run_commands(dist)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
�[31m �[0m dist.run_commands()
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
�[31m �[0m self.run_command(cmd)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
�[31m �[0m super().run_command(command)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
�[31m �[0m cmd_obj.run()
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/command/bdist_wheel.py", line 410, in run
�[31m �[0m self.run_command("build")
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
�[31m �[0m self.distribution.run_command(command)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
�[31m �[0m super().run_command(command)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
�[31m �[0m cmd_obj.run()
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run
�[31m �[0m self.run_command(cmd_name)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
�[31m �[0m self.distribution.run_command(command)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command
�[31m �[0m super().run_command(command)
�[31m �[0m File "project/venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
�[31m �[0m cmd_obj.run()
�[31m �[0m File "/tmp/pip-install-3coybws8/srtm4_c8a38f07dab04d8781c60188f9164149/setup.py", line 28, in run
�[31m �[0m subprocess.check_call("make", shell=True)
�[31m �[0m File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
�[31m �[0m raise CalledProcessError(retcode, cmd)
�[31m �[0m subprocess.CalledProcessError: Command 'make' returned non-zero exit status 2.
�[31m �[0m �[31m[end of output]�[0m

�[1;35mnote�[0m: This error originates from a subprocess, and is likely not a problem with pip.
�[31m ERROR: Failed building wheel for srtm4�[0m�[31m
�[0m�[31mERROR: Failed to build installable wheels for some pyproject.toml based projects (srtm4)�[0m�[31m
�[0m`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions