You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Ran Ziv (JIRA)" <ji...@apache.org> on 2017/07/09 07:32:00 UTC

[jira] [Created] (ARIA-304) Unable to install apache-ariatosca[ssh] via PyPI

Ran Ziv created ARIA-304:
----------------------------

             Summary: Unable to install apache-ariatosca[ssh] via PyPI
                 Key: ARIA-304
                 URL: https://issues.apache.org/jira/browse/ARIA-304
             Project: AriaTosca
          Issue Type: Bug
    Affects Versions: 0.1.0
            Reporter: Ran Ziv
            Assignee: Ran Ziv
            Priority: Critical


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}}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)