Skip to content
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

docker 执行 docker-compose up 报错 #116

Open
phcbest opened this issue Mar 2, 2021 · 1 comment
Open

docker 执行 docker-compose up 报错 #116

phcbest opened this issue Mar 2, 2021 · 1 comment

Comments

@phcbest
Copy link

phcbest commented Mar 2, 2021

=============================DEBUG ASSISTANCE=============================
  If you are seeing a compilation error please try the following steps to
  successfully install cryptography:
  1) Upgrade to the latest pip and try again. This will fix errors for most
     users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
  2) Read https://cryptography.io/en/latest/installation.html for specific
     instructions for your platform.
  3) Check our frequently asked questions for more information:
     https://cryptography.io/en/latest/faq.html
  4) Ensure you have a recent Rust toolchain installed:
     https://cryptography.io/en/latest/installation.html#rust
  5) If you are experiencing issues with Rust for *this release only* you may
     set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
  =============================DEBUG ASSISTANCE=============================

error: Can not find Rust compiler

ERROR: Failed building wheel for cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

是不是pip版本太老了

@brucx
Copy link

brucx commented Mar 16, 2021

加上

ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1

kduxin added a commit to kduxin/haipproxy that referenced this issue Jun 10, 2021
fix exception occurred in installing cryptography reported in SpiderClub#116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants