pip-installing this codebase fails
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: Ubuntu 18.04
- Poetry version: from master (96191ca)
- Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
The following command fails in a new Python 3.6.8 env, with the latest pip, setuptools, and wheel (pip==20.0.2, setuptools==45.2.0, wheel==0.34.2).
pip install git+https://github.com/python-poetry/poetry
Command output
Collecting git+https://github.com/python-poetry/poetry
Cloning https://github.com/python-poetry/poetry to /tmp/pip-req-build-6cd8p6hc
Running command git clone -q https://github.com/python-poetry/poetry /tmp/pip-req-build-6cd8p6hc
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /[...]/.pyenv/versions/3.6.8/envs/test/bin/python3.6 /[...]/.pyenv/versions/3.6.8/envs/test/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp61iyu9vu
cwd: /tmp/pip-req-build-6cd8p6hc
Complete output (36 lines):
Traceback (most recent call last):
File "[...]/.pyenv/versions/3.6.8/envs/test/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
main()
File "[...]/.pyenv/versions/3.6.8/envs/test/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "[...]/.pyenv/versions/3.6.8/envs/test/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 91, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-ns_zen05/overlay/lib/python3.6/site-packages/intreehooks.py", line 53, in get_requires_for_build_wheel
return self._backend.get_requires_for_build_sdist(config_settings)
File "/tmp/pip-build-env-ns_zen05/overlay/lib/python3.6/site-packages/intreehooks.py", line 38, in _backend
obj = self._module_from_dir(modname)
File "/tmp/pip-build-env-ns_zen05/overlay/lib/python3.6/site-packages/intreehooks.py", line 25, in _module_from_dir
mod = importlib.import_module(modname)
File "[...]/.pyenv/versions/3.6.8/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/tmp/pip-req-build-6cd8p6hc/poetry/masonry/__init__.py", line 10, in <module>
from .builder import Builder
File "/tmp/pip-req-build-6cd8p6hc/poetry/masonry/builder.py", line 1, in <module>
from .builders.complete import CompleteBuilder
File "/tmp/pip-req-build-6cd8p6hc/poetry/masonry/builders/__init__.py", line 1, in <module>
from .complete import CompleteBuilder
File "/tmp/pip-req-build-6cd8p6hc/poetry/masonry/builders/complete.py", line 6, in <module>
from poetry.factory import Factory
File "/tmp/pip-req-build-6cd8p6hc/poetry/factory.py", line 10, in <module>
from clikit.api.io.io import IO
ModuleNotFoundError: No module named 'clikit'
----------------------------------------
ERROR: Command errored out with exit status 1: /[...]/.pyenv/versions/3.6.8/envs/test/bin/python3.6 /[...]/.pyenv/versions/3.6.8/envs/test/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp61iyu9vu Check the logs for full command output.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:11 (6 by maintainers)
Top Results From Across the Web
How to install modules with PIP (and fix it when it fails) - Medium
First make sure that you have installed Python. Assuming that, the first thing to do is to check if the module exists. The...
Read more >Python 3.11 Delivers - Hacker News
Python's "convenience" and "soeed of iteration" completely falls apart when you have more than half a dozen people working on the same codebase...
Read more >Error when pip installing Django-Sass-Processor [duplicate]
I get the following error when running the code: pip install libsass django-compressor django-sass-processor. Here is the error:
Read more >pip Command Not Found – Mac and Linux Error Solved
It is better to upgrade your code base to Python 3 and use the latest version of pip. Follow the below steps only...
Read more >Having issues pip installing? - Discussions on Python.org
ERROR : Could not find a version that satisfies the requirement SpeechRecognition (from versions: none). ERROR: No matching distribution ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The original issue is not reproducible anymore. So I’m closing this one.
I think this issue is a duplicate of #1975.