haipproxy icon indicating copy to clipboard operation
haipproxy copied to clipboard

docker 执行 docker-compose up 报错

Open phcbest opened this issue 4 years ago • 1 comments

=============================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版本太老了

phcbest avatar Mar 02 '21 08:03 phcbest

加上

ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1

brucx avatar Mar 16 '21 15:03 brucx