Running setup.py bdist_wheel for opencv-contrib-python ...
时间: 2023-07-24 22:04:40 浏览: 183
It seems like you are trying to build a wheel distribution for the `opencv-contrib-python` package using setup.py. Building a wheel distribution allows you to easily distribute and install Python packages.
To build the wheel distribution for `opencv-contrib-python`, you can follow these steps:
1. Make sure you have the necessary dependencies installed. You may need to install `numpy` and other required packages beforehand.
2. Navigate to the directory where the `setup.py` file for `opencv-contrib-python` is located.
3. Open a command prompt or terminal in that directory.
4. Run the following command to build the wheel distribution:
```
python setup.py bdist_wheel
```
This command will execute the `setup.py` script and generate a wheel distribution file (with a .whl extension) in the `dist` directory.
5. Once the wheel distribution is generated, you can install it using pip by running:
```
pip install path/to/wheel/file.whl
```
Replace `path/to/wheel/file.whl` with the actual path to the generated wheel distribution file.
Note that these instructions assume you have Python and pip properly installed on your system. Make sure you have the correct versions of Python and other dependencies required by `opencv-contrib-python`.
阅读全文