
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
배포하는 과정에 패키지 설치가 계속 오류 뜹니다.
첫번째 오류 메세지 떠서 두번째 다시 설치했는데 터미널 오류 메세지를 기입합니다.
터미널 오류 내용입니다.
(venv) subin@Sus-MacBookAir 05.fan % pip install awsebcli
Collecting awsebcli
Collecting botocore<1.24.0,>1.23.41 (from awsebcli)
Collecting cement==2.8.2 (from awsebcli)
Collecting colorama<0.4.4,>=0.2.5 (from awsebcli)
Collecting future<0.17.0,>=0.16.0 (from awsebcli)
Collecting pathspec==0.9.0 (from awsebcli)
Collecting python-dateutil<3.0.0,>=2.1 (from awsebcli)
Collecting requests<=2.26,>=2.20.1 (from awsebcli)
Requirement already satisfied: setuptools>=20.0 in ./venv/lib/python3.8/site-packages (from awsebcli) (41.2.0)
Collecting semantic_version==2.8.5 (from awsebcli)
Collecting six<1.15.0,>=1.11.0 (from awsebcli)
Collecting termcolor==1.1.0 (from awsebcli)
Collecting wcwidth<0.2.0,>=0.1.7 (from awsebcli)
Collecting PyYAML<5.5,>=5.3.1 (from awsebcli)
Collecting urllib3>=1.26.5 (from awsebcli)
Collecting docker-compose<1.26.0,>=1.25.2 (from awsebcli)
Collecting blessed>=1.9.5 (from awsebcli)
Collecting jmespath<1.0.0,>=0.7.1 (from botocore<1.24.0,>1.23.41->awsebcli)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.8/site-packages (from requests<=2.26,>=2.20.1->awsebcli) (2022.12.7)
Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests<=2.26,>=2.20.1->awsebcli)
Collecting idna<4,>=2.5; python_version >= "3" (from requests<=2.26,>=2.20.1->awsebcli)
Collecting docopt<1,>=0.6.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting dockerpty<1,>=0.4.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting websocket-client<1,>=0.32.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting texttable<2,>=0.9.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting jsonschema<4,>=2.5.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting docker[ssh]<5,>=3.7.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting cached-property<2,>=1.2.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting attrs>=17.4.0 (from jsonschema<4,>=2.5.1->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting pyrsistent>=0.14.0 (from jsonschema<4,>=2.5.1->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting pynacl>=1.0.1 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting cryptography>=2.5 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting bcrypt>=3.1.3 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting cffi>=1.4.1 (from pynacl>=1.0.1->paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting pycparser (from cffi>=1.4.1->pynacl>=1.0.1->paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Building wheels for collected packages: bcrypt
Building wheel for bcrypt (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/subin/Downloads/sparta/projects/05.fan/venv/bin/python3 /Users/subin/Downloads/sparta/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/d_/x1y73bj53sjdkh_kcns5qj980000gn/T/tmp88a589q9
cwd: /private/var/folders/d_/x1y73bj53sjdkh_kcns5qj980000gn/T/pip-install-nnwsyy6g/bcrypt
Complete output (58 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-cpython-38
creating build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
copying src/bcrypt/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
copying src/bcrypt/__about__.py -> build/lib.macosx-10.9-x86_64-cpython-38/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.macosx-10.9-x86_64-cpython-38/bcrypt
copying src/bcrypt/py.typed -> build/lib.macosx-10.9-x86_64-cpython-38/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.8.2
platform: macOS-10.16-x86_64-i386-64bit
pip: n/a
setuptools: 65.6.3
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: Failed building wheel for bcrypt
Running setup.py clean for bcrypt
ERROR: Command errored out with exit status 1:
command: /Users/subin/Downloads/sparta/projects/05.fan/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/d_/x1y73bj53sjdkh_kcns5qj980000gn/T/pip-install-nnwsyy6g/bcrypt/setup.py'"'"'; __file__='"'"'/private/var/folders/d_/x1y73bj53sjdkh_kcns5qj980000gn/T/pip-install-nnwsyy6g/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
cwd: /private/var/folders/d_/x1y73bj53sjdkh_kcns5qj980000gn/T/pip-install-nnwsyy6g/bcrypt
Complete output (36 lines):
running clean
removing 'build/lib.macosx-10.9-x86_64-cpython-38' (and everything under it)
'build/bdist.macosx-10.9-x86_64' does not exist -- can't clean it
'build/scripts-3.8' 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.8.2
platform: macOS-10.16-x86_64-i386-64bit
pip: n/a
setuptools: 65.6.3
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: Failed cleaning build dir for bcrypt
Failed to build bcrypt
ERROR: Could not build wheels for bcrypt which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) subin@Sus-MacBookAir 05.fan %
