pip installation failure
- os: debian bookworm on proot-distro
- followed instructions from Installing the latest code (any platform)
- i am aware that installing dev packages might resolve the issue:
libxml2-dev
&libxslt1-dev
- excuse.....
- substituted
pyvenv fdroidserver-env
withpython3 -m venv fdroidserver-env
source - output:
jindam@localhost:~$ pyvenv fdroidserver-env -bash: pyvenv: command not found
jindam@localhost:~$ python3 -m venv fdroidserver-env
jindam@localhost:~$ . fdroidserver-env/bin/activate
(fdroidserver-env) jindam@localhost:~$ pip install git+https://gitlab.com/fdroid/fdroidserver.git
Collecting git+https://gitlab.com/fdroid/fdroidserver.git
Cloning https://gitlab.com/fdroid/fdroidserver.git to /tmp/pip-req-build-x5plyp2r
Running command git clone --filter=blob:none --quiet https://gitlab.com/fdroid/fdroidserver.git /tmp/pip-req-build-x5plyp2r
Resolved https://gitlab.com/fdroid/fdroidserver.git to commit c88eb253f6f4824ca2a9e509056ae916dcb7c792
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting androguard!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.0
Downloading androguard-3.3.5-py3-none-any.whl (922 kB)
━━━━━━━━━━ 922.4/922.4 171.9 kB/s eta 0:00:00
kB
Collecting clint
Downloading clint-0.5.1.tar.gz (29 kB)
Preparing metadata (setup.py) ... done
Collecting defusedxml
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting GitPython
Downloading GitPython-3.1.32-py3-none-any.whl (188 kB)
━━━━━━━━━━ 188.5/188.5 293.0 kB/s eta 0:00:00
kB
Collecting paramiko
Downloading paramiko-3.2.0-py3-none-any.whl (224 kB)
━━━━━━━━━━ 224.2/224.2 307.2 kB/s eta 0:00:00
kB
Collecting Pillow
Downloading Pillow-10.0.0.tar.gz (50.5 MB)
━━━━━━━━━━ 50.5/50.5 564.7 kB/s eta 0:00:00
MB
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting apache-libcloud>=0.14.1
Downloading apache_libcloud-3.7.0-py2.py3-none-any.whl (4.2 MB)
━━━━━━━━━━━ 4.2/4.2 MB 923.0 kB/s eta 0:00:00
Collecting pyasn1<0.5.0,>=0.4.1
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
━━━━━━━━━━ 77.1/77.1 840.9 kB/s eta 0:00:00
kB
Collecting pyasn1-modules<0.3,>=0.2.1
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
━━━━━━━━━━━━ 155.3/155.3 2.0 MB/s eta 0:00:00
kB
Collecting python-vagrant
Downloading python_vagrant-1.0.0-py3-none-any.whl (19 kB)
Collecting PyYAML
Downloading PyYAML-6.0.1.tar.gz (125 kB)
━━━━━━━━━━ 125.2/125.2 923.2 kB/s eta 0:00:00
kB
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting qrcode
Downloading qrcode-7.4.2-py3-none-any.whl (46 kB)
━━━━━━━━━━ 46.2/46.2 268.7 kB/s eta 0:00:00
kB
Collecting ruamel.yaml>=0.15
Downloading ruamel.yaml-0.17.32-py3-none-any.whl (112 kB)
━━━━━━━━━━ 112.2/112.2 307.4 kB/s eta 0:00:00
kB
Collecting requests!=2.11.0,!=2.12.2,!=2.18.0,>=2.5.2
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━ 62.6/62.6 233.6 kB/s eta 0:00:00
kB
Collecting sdkmanager>=0.6.4
Downloading sdkmanager-0.6.5.tar.gz (44 kB)
━━━━━━━━━━━━ 44.7/44.7 1.3 MB/s eta 0:00:00
kB
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting yamllint
Downloading yamllint-1.32.0-py3-none-any.whl (65 kB)
━━━━━━━━━━ 65.4/65.4 208.4 kB/s eta 0:00:00
kB
Collecting asn1crypto>=0.24.0
Downloading asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
━━━━━━━━━━ 105.0/105.0 663.3 kB/s eta 0:00:00
kB
Collecting click
Downloading click-8.1.6-py3-none-any.whl (97 kB)
━━━━━━━━━━ 97.9/97.9 447.7 kB/s eta 0:00:00
kB
Collecting colorama
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting future
Downloading future-0.18.3.tar.gz (840 kB)
━━━━━━━━━━ 840.9/840.9 376.3 kB/s eta 0:00:00
kB
Preparing metadata (setup.py) ... done
Collecting ipython>=5.0.0
Downloading ipython-8.14.0-py3-none-any.whl (798 kB)
━━━━━━━━━━ 798.7/798.7 945.4 kB/s eta 0:00:00
kB
Collecting lxml
Downloading lxml-4.9.3.tar.gz (3.6 MB)
━━━━━━━━━━━ 3.6/3.6 MB 997.9 kB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
Building lxml version 4.9.3.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(fdroidserver-env) jindam@localhost:~$