Title: --no-binary :all: -> ModuleNotFoundError: No module named 'poetry_core' · Issue #458 · python-pendulum/pendulum · GitHub
Open Graph Title: --no-binary :all: -> ModuleNotFoundError: No module named 'poetry_core' · Issue #458 · python-pendulum/pendulum
X Title: --no-binary :all: -> ModuleNotFoundError: No module named 'poetry_core' · Issue #458 · python-pendulum/pendulum
Description: I am on the latest Pendulum version. 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 strik...
Open Graph Description: I am on the latest Pendulum version. 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...
X Description: I am on the latest Pendulum version. 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...
Opengraph URL: https://github.com/python-pendulum/pendulum/issues/458
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--no-binary :all: -> ModuleNotFoundError: No module named 'poetry_core'","articleBody":"\u003c!--\r\n Hi there! Thank you for discovering and submitting an issue.\r\n\r\n Before you submit this; let's make sure of a few things.\r\n Please make sure the following boxes are ticked if they are correct.\r\n If not, please try and fulfill these first.\r\n-->\r\n\r\n\u003c!-- Checked checkbox should look like this: [x] -->\r\n- [x] I am on the [latest](https://github.com/sdispater/pendulum/releases/latest) Pendulum version.\r\n- [x] I have searched the [issues](https://github.com/sdispater/pendulum/issues) of this repo and believe that this is not a duplicate.\r\n\r\n\u003c!--\r\n Once those are done, if you're able to fill in the following list with your information,\r\n it'd be very helpful to whoever handles the issue.\r\n-->\r\n\r\n- **OS version and name**: Ubuntu 19.10 eoan\r\n- **Pendulum version**: 2.1.0\r\n\r\n## Issue\r\nThis 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.\r\n\r\nFirst the working installation allowing for wheels.\r\n```bash\r\naltendky@p1:~/repos/poetry/t$ rm -rf venv; virtualenv -p python3.8 venv; venv/bin/pip install --no-cache-dir --upgrade pip setuptools; venv/bin/pip install --no-cache-dir pendulum\r\ncreated virtual environment CPython3.8.2.final.0-64 in 104ms\r\n creator CPython3Posix(dest=/home/altendky/repos/poetry/t/venv, clear=False, global=False)\r\n seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/altendky/.local/share/virtualenv/seed-app-data/v1)\r\n activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator\r\nRequirement already up-to-date: pip in ./venv/lib/python3.8/site-packages (20.0.2)\r\nCollecting setuptools\r\n Downloading setuptools-46.1.3-py3-none-any.whl (582 kB)\r\n |████████████████████████████████| 582 kB 1.1 MB/s \r\nInstalling collected packages: setuptools\r\n Attempting uninstall: setuptools\r\n Found existing installation: setuptools 45.2.0\r\n Uninstalling setuptools-45.2.0:\r\n Successfully uninstalled setuptools-45.2.0\r\nSuccessfully installed setuptools-46.1.3\r\nCollecting pendulum\r\n Downloading pendulum-2.1.0-cp38-cp38-manylinux1_x86_64.whl (153 kB)\r\n |████████████████████████████████| 153 kB 1.2 MB/s \r\nCollecting python-dateutil\u003c3.0,>=2.6\r\n Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)\r\n |████████████████████████████████| 227 kB 22.3 MB/s \r\nCollecting pytzdata>=2018.3\r\n Downloading pytzdata-2019.3-py2.py3-none-any.whl (489 kB)\r\n |████████████████████████████████| 489 kB 12.0 MB/s \r\nCollecting six>=1.5\r\n Downloading six-1.14.0-py2.py3-none-any.whl (10 kB)\r\nInstalling collected packages: six, python-dateutil, pytzdata, pendulum\r\nSuccessfully installed pendulum-2.1.0 python-dateutil-2.8.1 pytzdata-2019.3 six-1.14.0\r\naltendky@p1:~/repos/poetry/t$ rm -rf venv; virtualenv -p python3.8 venv; venv/bin/pip install --no-cache-dir --upgrade pip setuptools; venv/bin/pip install --no-cache-dir --no-binary :all: pendulum\r\ncreated virtual environment CPython3.8.2.final.0-64 in 106ms\r\n creator CPython3Posix(dest=/home/altendky/repos/poetry/t/venv, clear=False, global=False)\r\n seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/altendky/.local/share/virtualenv/seed-app-data/v1)\r\n activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator\r\nRequirement already up-to-date: pip in ./venv/lib/python3.8/site-packages (20.0.2)\r\nCollecting setuptools\r\n Downloading setuptools-46.1.3-py3-none-any.whl (582 kB)\r\n |████████████████████████████████| 582 kB 1.1 MB/s \r\nInstalling collected packages: setuptools\r\n Attempting uninstall: setuptools\r\n Found existing installation: setuptools 45.2.0\r\n Uninstalling setuptools-45.2.0:\r\n Successfully uninstalled setuptools-45.2.0\r\nSuccessfully installed setuptools-46.1.3\r\nCollecting pendulum\r\n Downloading pendulum-2.1.0.tar.gz (80 kB)\r\n |████████████████████████████████| 80 kB 1.2 MB/s \r\n Installing build dependencies ... error\r\n ERROR: Command errored out with exit status 2:\r\n command: /home/altendky/repos/poetry/t/venv/bin/python\r\n```\r\nNow without wheels (`--no-binary :all:`) we fail with `ModuleNotFoundError: No module named 'poetry_core'`.\r\n```bash\r\n/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'\r\n cwd: None\r\n Complete output (70 lines):\r\n Collecting poetry>=1.0.0b1\r\n Using cached poetry-1.1.0a1.tar.gz (107 kB)\r\n Installing build dependencies: started\r\n Installing build dependencies: finished with status 'done'\r\n Getting requirements to build wheel: started\r\n Getting requirements to build wheel: finished with status 'done'\r\n Preparing wheel metadata: started\r\n Preparing wheel metadata: finished with status 'done'\r\n Collecting pexpect\u003c5.0.0,>=4.7.0\r\n Using cached pexpect-4.8.0.tar.gz (157 kB)\r\n Collecting html5lib\u003c2.0,>=1.0\r\n Using cached html5lib-1.0.1.tar.gz (252 kB)\r\n Collecting clikit\u003c0.6.0,>=0.5.1\r\n Using cached clikit-0.5.1.tar.gz (54 kB)\r\n Installing build dependencies: started\r\n Installing build dependencies: finished with status 'done'\r\n Getting requirements to build wheel: started\r\n Getting requirements to build wheel: finished with status 'done'\r\n Preparing wheel metadata: started\r\n Preparing wheel metadata: finished with status 'done'\r\n Collecting cachecontrol[filecache]\u003c0.13.0,>=0.12.4\r\n Using cached CacheControl-0.12.6.tar.gz (14 kB)\r\n Collecting cleo\u003c0.9.0,>=0.8.0\r\n Using cached cleo-0.8.0.tar.gz (19 kB)\r\n Installing build dependencies: started\r\n Installing build dependencies: finished with status 'done'\r\n Getting requirements to build wheel: started\r\n Getting requirements to build wheel: finished with status 'done'\r\n ERROR: Exception:\r\n Traceback (most recent call last):\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py\", line 186, in _main\r\n status = self.run(options, args)\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py\", line 331, in run\r\n resolver.resolve(requirement_set)\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py\", line 177, in resolve\r\n discovered_reqs.extend(self._resolve_one(requirement_set, req))\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py\", line 333, in _resolve_one\r\n abstract_dist = self._get_abstract_dist_for(req_to_install)\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py\", line 282, in _get_abstract_dist_for\r\n abstract_dist = self.preparer.prepare_linked_requirement(req)\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py\", line 515, in prepare_linked_requirement\r\n abstract_dist = _get_prepared_distribution(\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py\", line 95, in _get_prepared_distribution\r\n abstract_dist.prepare_distribution_metadata(finder, build_isolation)\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py\", line 38, in prepare_distribution_metadata\r\n self._setup_isolation(finder)\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_internal/distributions/sdist.py\", line 96, in _setup_isolation\r\n reqs = backend.get_requires_for_build_wheel()\r\n 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\r\n return self._call_hook('get_requires_for_build_wheel', {\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_vendor/pep517/wrappers.py\", line 255, in _call_hook\r\n raise BackendUnavailable(data.get('traceback', ''))\r\n pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):\r\n File \"/home/altendky/repos/poetry/t/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py\", line 63, in _build_backend\r\n obj = import_module(mod_path)\r\n File \"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/importlib/__init__.py\", line 127, in import_module\r\n return _bootstrap._gcd_import(name[level:], package, level)\r\n File \"\u003cfrozen importlib._bootstrap>\", line 1014, in _gcd_import\r\n File \"\u003cfrozen importlib._bootstrap>\", line 991, in _find_and_load\r\n File \"\u003cfrozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n File \"\u003cfrozen importlib._bootstrap>\", line 1014, in _gcd_import\r\n File \"\u003cfrozen importlib._bootstrap>\", line 991, in _find_and_load\r\n File \"\u003cfrozen importlib._bootstrap>\", line 961, in _find_and_load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n File \"\u003cfrozen importlib._bootstrap>\", line 1014, in _gcd_import\r\n File \"\u003cfrozen importlib._bootstrap>\", line 991, in _find_and_load\r\n File \"\u003cfrozen importlib._bootstrap>\", line 973, in _find_and_load_unlocked\r\n ModuleNotFoundError: No module named 'poetry_core'\r\n \r\n ----------------------------------------\r\nERROR: 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.\r\n```","author":{"url":"https://github.com/altendky","@type":"Person","name":"altendky"},"datePublished":"2020-04-02T23:07:56Z","url":"https://github.com/python-pendulum/pendulum/issues/458"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f40bddf4-c8bc-c7aa-bf2f-33352ba3be2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B912:613C2:745781:A230C5:6B04897C |
| html-safe-nonce | 5ddb61b71dbf1dc8a8376126732e7eba61b327a8f28cdfc703d2657d071a48f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTEyOjYxM0MyOjc0NTc4MTpBMjMwQzU6NkIwNDg5N0MiLCJ2aXNpdG9yX2lkIjoiMzUzMzc3OTY0NTYwODc5MDM5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a3f93860ada80708e5c41207b313a39e18cbedf3ad97efd63bc47142558a99e |
| hovercard-subject-tag | issue:592970882 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-pendulum/pendulum/458/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2e03314bcca635730d1975fc94e4acb3b665405c48e4e919d27faaf57cf46b0/python-pendulum/pendulum/issues/458 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2e03314bcca635730d1975fc94e4acb3b665405c48e4e919d27faaf57cf46b0/python-pendulum/pendulum/issues/458 |
| og:image:alt | I am on the latest Pendulum version. 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | altendky |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-pendulum/pendulum git https://github.com/python-pendulum/pendulum.git |
| octolytics-dimension-user_id | 191041900 |
| octolytics-dimension-user_login | python-pendulum |
| octolytics-dimension-repository_id | 62095504 |
| octolytics-dimension-repository_nwo | python-pendulum/pendulum |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 62095504 |
| octolytics-dimension-repository_network_root_nwo | python-pendulum/pendulum |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width