-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install via Pypi #159
Comments
Okay, as it turned out, python packaging was severely broken. I will
publish another version to PyPi later today but for now, you should be able
to install from sources.. so please try that again and let me know.
…On Tue, Feb 13, 2024 at 08:43 Marco Nilsson ***@***.***> wrote:
libosdp is available as a package on Pypi
<https://pypi.org/project/libosdp/>. According to the readme it can be
installed using pip install libosdp, but that fails with
(env) ***@***.***:~/temp$ pip install libosdp
Collecting libosdp
Downloading libosdp-2.4.0.tar.gz (8.2 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/home/marco/temp/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/marco/temp/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/marco/temp/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-f1uj2zdn/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-f1uj2zdn/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-f1uj2zdn/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 25, in <module>
File "<string>", line 18, in read_version
FileNotFoundError: [Errno 2] No such file or directory: '/home/marco/CMakeLists.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
It seems to assume a very particular file structure on the host that runs
the command. When building from source this makes sense as it's the source
tree structure, but outside of that it becomes very difficult to install.
—
Reply to this email directly, view it on GitHub
<#159>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAW3LGLEDHZWIZNXKU2T3YLYTMKSRAVCNFSM6AAAAABDGAPS5OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTCNRUGMYTSMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Installing from source via git+https works perfectly now. Thanks again :) |
With the latest release, I can install from PyPI without any issues.
Closing this issue as complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
libosdp is available as a package on Pypi. According to the readme it can be installed using
pip install libosdp
, but that fails withIt seems to assume a very particular file structure on the host that runs the command. When building from source this makes sense as it's the source tree structure, but outside of that it becomes very difficult to install.
The text was updated successfully, but these errors were encountered: