ignore distutils configs in setup. cfg due to encoding errors
时间: 2024-06-08 13:06:34 浏览: 251
安全帽检测1.docx
To ignore distutils configs in `setup.cfg` due to encoding errors, you can use the `--no-user-cfg` flag when running your setup script. This will prevent `setup.cfg` from being read and any potential encoding errors associated with it.
Here's an example command:
```
python setup.py install --no-user-cfg
```
By using this flag, you can avoid any issues related to encoding errors in the `setup.cfg` file during the installation process.
阅读全文