-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hello,
i can't install docker-compose by this command line:
sudo pip3 -v install docker-compose
the return below if someone can sort it out
i've fresh install from buster and python and rust 1.64.0 seems not detected. and i don't know how install old version from rust
the error seems to be : docker 6.0.0 has requirement requests>=2.26.0, but you'll have requests 2.21.0 which is incompatible.
But i don't know what i need to do now
help me plz
Failed building wheel for bcrypt
Running setup.py clean for bcrypt
Running command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-mczs6grc/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all
running clean
removing 'build/lib.linux-armv7l-cpython-37' (and everything under it)
'build/bdist.linux-armv7l' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
removing 'build'
running clean_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install bcrypt:
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) Ensure you have a recent Rust toolchain installed. bcrypt requires
rustc >= 1.56.0.
Python: 3.7.3
platform: Linux-5.10.103-v7+-armv7l-with-debian-10.13
pip: 18.1
setuptools: 65.4.1
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.56.0.
Failed cleaning build dir for bcrypt
Failed to build bcrypt
docker 6.0.0 has requirement requests>=2.26.0, but you'll have requests 2.21.0 which is incompatible.
Installing collected packages: texttable, cached-property, bcrypt, pycparser, cffi, pynacl, paramiko, docker, distro, dockerpty, python-dotenv, PyYAML, zipp, typing-extensions, importlib-metadata, pyrsistent, attrs, jsonschema, docker-compose
Created temporary directory: /tmp/pip-record-ne3sqk01
Running setup.py install for bcrypt ... Running command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-mczs6grc/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-ne3sqk01/install-record.txt --single-version-externally-managed --compile
running install
/tmp/pip-build-env-5f81vjg6/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-37
creating build/lib.linux-armv7l-cpython-37/bcrypt
copying src/bcrypt/init.py -> build/lib.linux-armv7l-cpython-37/bcrypt
copying src/bcrypt/about.py -> build/lib.linux-armv7l-cpython-37/bcrypt
running egg_info
writing src/bcrypt.egg-info/PKG-INFO
writing dependency_links to src/bcrypt.egg-info/dependency_links.txt
writing requirements to src/bcrypt.egg-info/requires.txt
writing top-level names to src/bcrypt.egg-info/top_level.txt
reading manifest file 'src/bcrypt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'requirements.txt'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '' found under directory '.github'
warning: no previously-included files matching '' found under directory '.circleci'
warning: no previously-included files found matching 'src/_bcrypt/target'
warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target'
adding license file 'LICENSE'
writing manifest file 'src/bcrypt.egg-info/SOURCES.txt'
copying src/bcrypt/_bcrypt.pyi -> build/lib.linux-armv7l-cpython-37/bcrypt
copying src/bcrypt/py.typed -> build/lib.linux-armv7l-cpython-37/bcrypt
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install bcrypt:
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) Ensure you have a recent Rust toolchain installed. bcrypt requires
rustc >= 1.56.0.
Python: 3.7.3
platform: Linux-5.10.103-v7+-armv7l-with-debian-10.13
pip: 18.1
setuptools: 65.4.1
setuptools_rust: 1.5.2
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.56.0.
error
Cleaning up...
Removing source in /tmp/pip-install-mczs6grc/bcrypt
Removed build tracker '/tmp/pip-req-tracker-0oi_qq8v'
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-mczs6grc/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-ne3sqk01/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-mczs6grc/bcrypt/
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 386, in run
use_user_site=options.use_user_site,
File "/usr/lib/python3/dist-packages/pip/_internal/req/init.py", line 49, in install_given_reqs
**kwargs
File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 791, in install
spinner=spinner,
File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 723, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-mczs6grc/bcrypt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-ne3sqk01/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-mczs6grc/bcrypt/