Uploaded image for project: 'AriaTosca'
  1. AriaTosca
  2. ARIA-304

Unable to install apache-ariatosca[ssh] via PyPI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 0.1.0
    • 0.2.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

          Activity

            People

              ran Ran Ziv
              ran Ran Ziv
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: