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
Created a venv, then trying to install an app into it, running into:
./venv/bin/pip install -r requirements.txt
(...)
checking for the distutils Python package... yes
checking for Python include path... -I/tmp/.mount_pythonMxMwiT/opt/python3.9/include/python3.9 -I/tmp/.mount_pythonvnOEfY/opt/python3.9/include/python3.9
checking for Python library path... -L/opt/_internal/cpython-3.9.13/lib -lpython3.9
checking for Python site-packages path... /tmp/gearlever/venv/lib/python3.9/site-packages
checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lrt -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... no
configure: error: in `/tmp/pip-install-r74764i4/dbus-python_9f061533d81f4df497bdbad87564765e/build/temp.linux-x86_64-3.9':
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
See `config.log' for more details
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-r74764i4/dbus-python_9f061533d81f4df497bdbad87564765e/setup.py", line 85, in <module>
setup(
File "/tmp/gearlever/venv/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/gearlever/venv/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/distutils/command/install.py", line 546, in run
self.run_command('build')
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-r74764i4/dbus-python_9f061533d81f4df497bdbad87564765e/setup.py", line 56, in run
subprocess.check_call([
File "/tmp/.mount_pythonuiEptT/opt/python3.9/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/tmp/pip-install-r74764i4/dbus-python_9f061533d81f4df497bdbad87564765e/configure', '--disable-maintainer-mode', 'PYTHON=/tmp/gearlever/venv/bin/python3.9.13-cp39-cp39-manylinux2010_x86_64.AppImage', '--prefix=/tmp/pip-install-r74764i4/dbus-python_9f061533d81f4df497bdbad87564765e/build/temp.linux-x86_64-3.9/prefix']' returned non-zero exit status 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.
╰─> dbus-python
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: You are using pip version 22.0.4; however, version 24.2 is available.
You should consider upgrading via the '/tmp/gearlever/venv/bin/python3.9.13-cp39-cp39-manylinux2010_x86_64.AppImage -m pip install --upgrade pip' command.
How to install python applications that require non-native Python modules?
Created a venv, then trying to install an app into it, running into:
How to install python applications that require non-native Python modules?
Note to self: Ran into this while trying https://github.com/mijorus/gearlever
The text was updated successfully, but these errors were encountered: