Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update docs: dependencies don't build on Windows #336

Closed
wants to merge 2 commits into from

Conversation

jcgiuffrida
Copy link

See issue #219 for more. Hopefully this saves others from spending a few days on this problem. The recommended command pip install azure-storage does not work on Azure Web Apps, a primary environment this package is intended for, so this seems important to point out.

See issue Azure#219 for more. Hopefully this saves others from spending a few days on this problem. The recommended command `pip install azure-storage` does not work on Azure Web Apps, a primary environment this package is intended for, so this seems important to point out. Furthermore, `cryptography` reports that failed builds require
Update docs: dependencies don't built on Windows
@msftclas
Copy link

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@zezha-msft
Copy link
Contributor

Hi @lucaluca, sorry to hear that you had to deal with this problem on Azure Web Apps. 😢

According to what I understood from reading that issue, this problem is really caused by the older version of pip which is pre-installed on Azure Web Apps and cannot install Cryptography properly. However, there is this workaround to upgrade the pip. As far as I know this is not a problem present on other Windows platforms that have newer versions of pip. The Cryptography wheel package on Windows is a statically linked build, so newer pips should install it just fine, and users do not need to build anything natively.

Please let me know whether I understood this correctly. If yes, could you please modify the documentation to point out that:

  1. there might be a problem on Azure Web Apps to install Cryptography
  2. the workaround is to upgrade pip and install from wheel

Best regards, and thank you for taking time to do this PR. 👍

@jcgiuffrida
Copy link
Author

jcgiuffrida commented Aug 17, 2017 via email

@lmazuel
Copy link
Member

lmazuel commented Aug 18, 2017

Current recommendation is to update Python using the Extension mechanism (fix your problem automatically)
https://docs.microsoft.com/en-us/visualstudio/python/managing-python-on-azure-app-service

@zezha-msft
Copy link
Contributor

Thanks @lmazuel! 👍

@lucaluca Would you like to update this PR?

@zezha-msft
Copy link
Contributor

@lucaluca I added the suggestion on readme. Thank you!

@zezha-msft zezha-msft closed this Aug 22, 2017
@jcgiuffrida jcgiuffrida deleted the dev branch August 23, 2017 02:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants