D:\app\pycharm\project\Traffic_sign_detect-master> pip install scripy -i https://pypi.tuna.tsinghua.edu.cn/simple/ Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/ Collecting scripy Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b8/94/e938ead848dd951c03a6cad601dee4150cca8a7251e74c983fc2001df792/Scripy-0.9.3.tar.gz (15 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\86134\AppData\Local\Temp\pip-install-hxa0o0ri\scripy_78215d63df3a4149a8c420cdec9bd975\setup.py", line 96, in <module>
description=get_description(packages[0], PACKAGE_DIR),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86134\AppData\Local\Temp\pip-install-hxa0o0ri\scripy_78215d63df3a4149a8c420cdec9bd975\setup.py", line 47, in get_description
pkg = import(package, level=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: "'name' not in globals"
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. PS D:\app\pycharm\project\Traffic_sign_detect-master>
It seems there was an error while trying to install the package "scripy". The error suggests that there might be an issue with the package itself or its setup file. Let's try a different approach to resolve this issue.
First, let's make sure you're trying to install the correct package. Did you mean to install "scipy" instead of "scripy"? SciPy is a popular scientific computing library for Python, while "scripy" is not a well-known package.
If you meant to install SciPy, here's what you can do:
pip install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple/
python -m pip install --upgrade pip
Then try installing scipy again.
pip install path_to_downloaded_wheel_file
conda install scipy
If you indeed meant to install "scripy" and not "scipy", could you provide more information about what you're trying to achieve? The package "scripy" is not a commonly used package, and the error suggests there might be issues with its setup file.