WARNING: Ignoring invalid distribution -yasn1 (/usr/local/lib/python3.7/dist-packages) Collecting dlib Downloading dlib-19.24.1.tar.gz (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 16.3 kB/s eta 0:00:00 Preparing metadata (setup.py) ... done Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... |
时间: 2023-12-03 13:45:39 浏览: 151
基于python3.7 dlib的下载
It seems like there was an error during the installation of the dlib package. The warning message indicates that an invalid distribution was ignored.
To troubleshoot this issue, you can try uninstalling and reinstalling the dlib package using pip. Here are the steps:
1. Uninstall the current installation of the dlib package using pip:
```
pip uninstall dlib
```
2. Reinstall the dlib package:
```
pip install dlib
```
If the error persists, you can try updating pip and setuptools by running:
```
pip install --upgrade pip setuptools
```
This should ensure that you have the latest versions of these packages, which may help resolve any compatibility issues.
阅读全文