* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
웹페이지 배포를 위해서 pip install awsebcli 설치를 했는데 아래와 같이 터미널에서 빨간글씨로 에러메세지가 뜨는데 그대로 진행해도 되는건가요??
(venv) yunahong@yuna-MacBook-Pro deploy % pip install awsebcli
Collecting awsebcli
Collecting botocore<1.29.82,>1.23.41 (from awsebcli)
Collecting cement==2.8.2 (from awsebcli)
Collecting colorama<0.4.4,>=0.2.5 (from awsebcli)
Collecting pathspec==0.10.1 (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 /Users/yunahong/Desktop/sparta-웹/projects/05.fan/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)
Requirement already satisfied: urllib3>=1.26.5 in /Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages (from awsebcli) (1.26.15)
Collecting docker-compose<1.26.0,>=1.25.2 (from awsebcli)
Collecting blessed>=1.9.5 (from awsebcli)
Collecting jmespath<2.0.0,>=0.7.1 (from botocore<1.29.82,>1.23.41->awsebcli)
Requirement already satisfied: certifi>=2017.4.17 in /Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages (from requests<=2.26,>=2.20.1->awsebcli) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages (from requests<=2.26,>=2.20.1->awsebcli) (3.4)
Collecting charset-normalizer~=2.0.0; 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 cached-property<2,>=1.2.0 (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 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 websocket-client<1,>=0.32.0 (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 paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=3.7.0->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 cryptography>=3.3 (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.2 (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 pynacl>=1.5 (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.12 (from cryptography>=3.3->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.12->cryptography>=3.3->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, pynacl
Building wheel for bcrypt (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: '/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/bin/python3' '/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py' build_wheel /var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/tmpac77shof
cwd: /private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/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: 67.6.0
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/yunahong/Desktop/sparta-웹/projects/05.fan/venv/bin/python3' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/bcrypt/setup.py'"'"'; __file__='"'"'/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/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/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/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: 67.6.0
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
Building wheel for pynacl (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: '/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/bin/python3' '/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py' build_wheel /var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/tmp5g24arzo
cwd: /private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/pynacl
Complete output (110 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/nacl
copying src/nacl/signing.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/public.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/encoding.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/hashlib.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/hash.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/secret.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/utils.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
copying src/nacl/exceptions.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
creating build/lib.macosx-10.9-x86_64-cpython-38/nacl/pwhash
copying src/nacl/pwhash/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/pwhash
copying src/nacl/pwhash/argon2i.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/pwhash
copying src/nacl/pwhash/scrypt.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/pwhash
copying src/nacl/pwhash/_argon2.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/pwhash
copying src/nacl/pwhash/argon2id.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/pwhash
creating build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_hash.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_generichash.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/sodium_core.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/randombytes.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_kx.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_sign.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_secretstream.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_aead.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/utils.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_scalarmult.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_box.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_secretbox.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_pwhash.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_core.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/bindings/crypto_shorthash.py -> build/lib.macosx-10.9-x86_64-cpython-38/nacl/bindings
copying src/nacl/py.typed -> build/lib.macosx-10.9-x86_64-cpython-38/nacl
running build_clib
checking build system type... i386-apple-darwin22.3.0
checking host system type... i386-apple-darwin22.3.0
checking target system type... i386-apple-darwin22.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/pynacl/src/libsodium/build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether UID '501' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/pynacl/build/temp.macosx-10.9-x86_64-cpython-38':
configure: error: C compiler cannot create executables
See `config.log' for more details
/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
Traceback (most recent call last):
File "/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
main()
File "/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/yunahong/Desktop/sparta-웹/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 140, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 413, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 202, in <module>
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 343, in run
self.run_command("build")
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 1221, in run_command
super().run_command(command)
File "/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-build-env-t3_n32gi/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "<string>", line 160, in run
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/pynacl/src/libsodium/configure', '--disable-shared', '--enable-static', '--disable-debug', '--disable-dependency-tracking', '--with-pic', '--prefix', '/private/var/folders/6m/cqcg_8cj5c54csw3g_hf9tzw0000gn/T/pip-install-c9zvsswz/pynacl/build/temp.macosx-10.9-x86_64-cpython-38']' returned non-zero exit status 77.
----------------------------------------
ERROR: Failed building wheel for pynacl
Running setup.py clean for pynacl
Failed to build bcrypt pynacl
ERROR: Could not build wheels for bcrypt, pynacl which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 23.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.