/Library/Python/3.7/site-packages/pip/_internal/commands/install.py:243: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options)
DEPRECATION: Location-changing options found in --install-option: ['--prefix'] from command line. This configuration may cause unexpected behavior and is unsupported. pip 20.2 will remove support for this functionality. A possible replacement is using pip-level options like --user, --prefix, --root, and --target. You can find discussion regarding this at https://github.com/pypa/pip/issues/7309.
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 /Library/Python/3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-build-env-rzzpok5l/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host mirrors.aliyun.com -- 'setuptools<49.2.0' 'wheel<=0.35.1' 'Cython>=0.29.21,<3.0'
cwd: None
Complete output (488 lines):
/Library/Python/3.7/site-packages/pip/_internal/commands/install.py:243: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options)
DEPRECATION: Location-changing options found in --install-option: ['--prefix'] from command line. This configuration may cause unexpected behavior and is unsupported. pip 20.2 will remove support for this functionality. A possible replacement is using pip-level options like --user, --prefix, --root, and --target. You can find discussion regarding this at https://github.com/pypa/pip/issues/7309.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting setuptools<49.2.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d0/4a/22ee76842d8ffc123d4fc48d24a623c1d206b99968fe3960039f1efc2cbc/setuptools-49.1.3.zip (2.2 MB)
Collecting wheel<=0.35.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/83/72/611c121b6bd15479cb62f1a425b2e3372e121b324228df28e64cc28b01c2/wheel-0.35.1.tar.gz (59 kB)
Collecting Cython<3.0,>=0.29.21
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d3/38/adc49a5aca4f644e6322237089fdcf194084f5fe41445e6e632f28b32bf7/Cython-0.29.22.tar.gz (2.1 MB)
Skipping wheel build for setuptools, due to binaries being disabled for it.
Skipping wheel build for wheel, due to binaries being disabled for it.
Skipping wheel build for Cython, due to binaries being disabled for it.
Installing collected packages: setuptools, wheel, Cython
Running setup.py install for setuptools: started
Running setup.py install for setuptools: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-install-zkkrsj03/setuptools/setup.py'"'"'; __file__='"'"'/private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-install-zkkrsj03/setuptools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-record-zixudz4v/install-record.txt --single-version-externally-managed --prefix /private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-build-env-rzzpok5l/overlay --compile --install-headers /private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-build-env-rzzpok5l/overlay/include/python3.9/setuptools --prefix=/usr/local
cwd: /private/var/folders/t5/cnc2dx3x3nv_9st0xdsv87yh0000gp/T/pip-install-zkkrsj03/setuptools/
Complete output (466 lines):
running install
running build
running build_py
creating build
creating build/lib
copying easy_install.py -> build/lib
creating build/lib/setuptools
copying setuptools/ssl_support.py -> build/lib/setuptools
copying setuptools/windows_support.py -> build/lib/setuptools
copying setuptools/_deprecation_warning.py -> build/lib/setuptools
copying setuptools/package_index.py -> build/lib/setuptools
copying setuptools/archive_util.py -> build/lib/setuptools
copying setuptools/_imp.py -> build/lib/setuptools
copying setuptools/config.py -> build/lib/setuptools
copying setuptools/version.py -> build/lib/setuptools
copying setuptools/py31compat.py -> build/lib/setuptools
copying setuptools/depends.py -> build/lib/setuptools
copying setuptools/py27compat.py -> build/lib/setuptools
copying setuptools/__init__.py -> build/lib/setuptools
copying setuptools/installer.py -> build/lib/setuptools
copying setuptools/glob.py -> build/lib/setuptools
copying setuptools/sandbox.py -> build/lib/setuptools
copying setuptools/py34compat.py -> build/lib/setuptools
copying setuptools/launch.py -> build/lib/setuptools
copying setuptools/extension.py -> build/lib/setuptools
copying setuptools/distutils_patch.py -> build/lib/setuptools
copying setuptools/unicode_utils.py -> build/lib/setuptools
copying setuptools/monkey.py -> build/lib/setuptools
copying setuptools/build_meta.py -> build/lib/setuptools
copying setuptools/errors.py -> build/lib/setuptools
copying setuptools/dep_util.py -> build/lib/setuptools
copying setuptools/msvc.py -> build/lib/setuptools
copying setuptools/dist.py -> build/lib/setuptools