Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
0.1.0
-
None
-
None
Description
Attempting to install ARIA's ssh optional dependency via:
pip install apache-ariatosca[ssh]
will result in an error on a non-Windows machine:
ImportError: No module named _winreg
This is due to a limitation of wheel with regards to environment-marked dependencies (which results in an attempt to install a Windows-specific dependency on any platform).
See related issue ARIA-301.
This also applies for sdist installations as pip will attempt to create a wheel prior to installation.
The workaround for this is to use the no-binary pip flag, which tells it not to use wheel and thereby avoiding the limitation:
pip install apache-ariatosca[ssh] --no-binary apache-ariatosca
Attachments
Issue Links
- relates to
-
ARIA-301 Environment-marked dependencies are installed regardless of environment when installing from wheel
- Closed