-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Install process on Pi and Beagleboard #7108
Comments
This is nothing much to do with poetry - you are having trouble installing the cryptography package (which appears in poetry's dependency tree) As the error message says, either
There's nothing that can be done from this project to help you with any of that. (Except possibly losing the cryptography dependency... that appears as an indirect dependency via keyring. Personally I wouldn't mind in the least if poetry lost keyring functionality - but I don't think it's likely to happen, and I don't think that this issue would be a good reason for taking that decision) |
Indeed, this is not a Poetry issue. You can try to force the install to use a binary version of Cryptography through e.g. |
Fair points all. I did finally get the Cryptography install to work. Lots of installing additional dependencies, updated versions, etc. (virtual env, pip, pipx, etc). And then the install takes more than an hour on a Beagle Bone Black. Small CPU. At least if someone has the same issue they'll at least find that it's possible! H |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
I've successfully installed Poetry on various "normal" linux machines. But installing it on Pi and Beagle is either a long drawn out process of fixing dependencies or just not getting it to work at all (so far).
On Pi, the solution (or at least as much of it as I have notes for) is here. SwitchEV/iso15118#156 That finally worked.
I'm working on the beagle bone black now. And have been. From a totally fresh install of Debian 10, first, I get errors that rust isn't installed. Then I get errors that the version of rust isn't enough. Or at least that's what I think the log files are telling me. Then I install the correct version of Rust, I get a very long run time and then errors around pip and wheels....if it doesn't just stop.
So I'm stuck.
I have the log files, but they're long so I've pasted the first one here below.
H
### +++++++++++++++++++++++++Log1+++++++++++++++++++++++++++++++
Log 1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting poetry==1.2.2
Downloading https://www.piwheels.org/simple/poetry/poetry-1.2.2-py3-none-any.whl (212 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.4/212.4 kB 514.3 kB/s eta 0:00:00
Collecting cleo<2.0.0,>=1.0.0a5
Downloading https://www.piwheels.org/simple/cleo/cleo-1.0.0a5-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 156.9 kB/s eta 0:00:00
Collecting packaging>=20.4
Downloading https://www.piwheels.org/simple/packaging/packaging-21.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 487.7 kB/s eta 0:00:00
Collecting tomlkit!=0.11.2,!=0.11.3,<1.0.0,>=0.11.1
Downloading https://www.piwheels.org/simple/tomlkit/tomlkit-0.11.6-py3-none-any.whl (35 kB)
Collecting cachecontrol[filecache]<0.13.0,>=0.12.9
Downloading https://www.piwheels.org/simple/cachecontrol/CacheControl-0.12.11-py2.py3-none-any.whl (21 kB)
Collecting virtualenv!=20.4.5,!=20.4.6,>=20.4.3
Downloading https://www.piwheels.org/simple/virtualenv/virtualenv-20.16.7-py3-none-any.whl (8.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 1.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 1.9 MB/s eta 0:00:00
Collecting pexpect<5.0.0,>=4.7.0
Downloading https://www.piwheels.org/simple/pexpect/pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 kB 664.8 kB/s eta 0:00:00
Collecting crashtest<0.4.0,>=0.3.0
Downloading https://www.piwheels.org/simple/crashtest/crashtest-0.3.1-py3-none-any.whl (7.0 kB)
Collecting dulwich<0.21.0,>=0.20.46
Downloading https://www.piwheels.org/simple/dulwich/dulwich-0.20.50-cp37-cp37m-linux_armv7l.whl (497 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 497.8/497.8 kB 742.5 kB/s eta 0:00:00
Collecting shellingham<2.0,>=1.5
Downloading https://www.piwheels.org/simple/shellingham/shellingham-1.5.0-py2.py3-none-any.whl (9.3 kB)
Collecting html5lib<2.0,>=1.0
Downloading https://www.piwheels.org/simple/html5lib/html5lib-1.1-py2.py3-none-any.whl (117 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.4/117.4 kB 285.4 kB/s eta 0:00:00
Collecting backports.cached-property<2.0.0,>=1.0.2
Downloading https://www.piwheels.org/simple/backports-cached-property/backports.cached_property-1.0.2-py3-none-any.whl (6.1 kB)
Collecting jsonschema<5.0.0,>=4.10.0
Downloading https://www.piwheels.org/simple/jsonschema/jsonschema-4.17.1-py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.2/90.2 kB 377.6 kB/s eta 0:00:00
Collecting poetry-plugin-export<2.0.0,>=1.1.2
Downloading https://www.piwheels.org/simple/poetry-plugin-export/poetry_plugin_export-1.2.0-py3-none-any.whl (10 kB)
then there's a lot more of the same....and then
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 metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting more-itertools
Downloading https://www.piwheels.org/simple/more-itertools/more_itertools-9.0.0-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 776.4 kB/s eta 0:00:00
Collecting cffi>=1.12
Using cached https://www.piwheels.org/simple/cffi/cffi-1.15.1-cp37-cp37m-linux_armv7l.whl (219 kB)
Collecting pycparser
Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml): started
Building wheel for cryptography (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [193 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-37
creating build/lib.linux-armv7l-cpython-37/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-37/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-37/cryptography
copying src/cryptography/init.py -> build/lib.linux-armv7l-cpython-37/cryptography
copying src/cryptography/about.py -> build/lib.linux-armv7l-cpython-37/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-37/cryptography
creating build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/x509
creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat
copying src/cryptography/hazmat/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/init.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/primitives
then a lot more of that....and then
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '' found under directory 'vectors'
warning: no previously-included files matching '' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.circleci'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-37/cryptography
copying src/cryptography/hazmat/bindings/_openssl.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install fr$
The text was updated successfully, but these errors were encountered: