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-compose up -d失败:Service 'web' failed to build: The command '/bin/sh -c pip3 install --user -r /requirement.txt -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com' returned a non-zero code: 1 #113

Open
tangboyy opened this issue May 16, 2021 · 3 comments

Comments

@tangboyy
Copy link

执行docker-compose up -d时报错,我的docker版本为,docker-ce-20.10.6-3.el7.x86_64
Complete output from command python setup.py egg_info:

        =============================DEBUG ASSISTANCE==========================
        If you are seeing an error here please try the following to
        successfully install cryptography:

        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
        =============================DEBUG ASSISTANCE==========================

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-f9kncl7h/cryptography/setup.py", line 14, in <module>
    from setuptools_rust import RustExtension
ImportError: No module named 'setuptools_rust'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-f9kncl7h/cryptography/
You are using pip version 8.1.1, however version 21.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Service 'web' failed to build: The command '/bin/sh -c pip3 install --user -r /requirement.txt -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com' returned a non-zero code: 1

@tangboyy
Copy link
Author

python的pip版本已经更新到最新的 21.1.1 了,并不是 8.1.1,有没有大佬指点一下

@yinmin2020
Copy link

解决了吗?我也遇到了这个问题~

@TuuuNya
Copy link
Member

TuuuNya commented Aug 10, 2021

参考 #115 这个方式应该能解决。

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

3 participants