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
I have searched the issues of this repo and believe that this is not a duplicate.
OS version and name: Ubuntu 19.10 eoan
Pendulum version: 2.1.0
Issue
This is a distinctly different error but it strikes me as likely a good thing to consider while looking at #454. In short, installing with --no-binary :all: doesn't work.
First the working installation allowing for wheels.
Now without wheels (--no-binary :all:) we fail with ModuleNotFoundError: No module named 'poetry_core'.
/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-b3s0g3l7/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'poetry>=1.0.0b1'
cwd: None
Complete output (70 lines):
Collecting poetry>=1.0.0b1
Using cached poetry-1.1.0a1.tar.gz (107 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting pexpect<5.0.0,>=4.7.0
Using cached pexpect-4.8.0.tar.gz (157 kB)
Collecting html5lib<2.0,>=1.0
Using cached html5lib-1.0.1.tar.gz (252 kB)
Collecting clikit<0.6.0,>=0.5.1
Using cached clikit-0.5.1.tar.gz (54 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting cachecontrol[filecache]<0.13.0,>=0.12.4
Using cached CacheControl-0.12.6.tar.gz (14 kB)
Collecting cleo<0.9.0,>=0.8.0
Using cached cleo-0.8.0.tar.gz (19 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
ERROR: Exception:
Traceback (most recent call last):
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
status = self.run(options, args)
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 331, in run
resolver.resolve(requirement_set)
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 282, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 515, in prepare_linked_requirement
abstract_dist = _get_prepared_distribution(
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 95, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
self._setup_isolation(finder)
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py", line 96, in _setup_isolation
reqs = backend.get_requires_for_build_wheel()
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py", line 151, in get_requires_for_build_wheel
return self._call_hook('get_requires_for_build_wheel', {
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py", line 255, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
File "/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 63, in _build_backend
obj = import_module(mod_path)
File "/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'poetry_core'
----------------------------------------
ERROR: Command errored out with exit status 2: /home/altendky/repos/poetry/t/venv/bin/python /home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-b3s0g3l7/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'poetry>=1.0.0b1' Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
altendky
added a commit
to altendky/poetry
that referenced
this issue
Apr 3, 2020
Issue
This is a distinctly different error but it strikes me as likely a good thing to consider while looking at #454. In short, installing with
--no-binary :all:
doesn't work.First the working installation allowing for wheels.
Now without wheels (
--no-binary :all:
) we fail withModuleNotFoundError: No module named 'poetry_core'
.The text was updated successfully, but these errors were encountered: