-
Notifications
You must be signed in to change notification settings - Fork 892
pip install build issue #825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The logs piece says that pip tries to build the package from source, but does not use pre-built wheel. What is your python version? Python 3.6 was deprecated some time ago. 4.7.0.x was built for Python 3.7+. |
FYI, it's better to drop 3.6 than to keep supporting it but not provide binaries. If you drop it, then Python 3.6 remain happy with their previously built binaries. If you are on conda, you should be using conda to get most packages, I think. You can attach a log file as a .txt by dragging it into GitHub's edit box. |
Thought that error is caused by: Lines 189 to 192 in 6b73d90
Which is incorrect, scikit-build already handles the platform1, and adding a platform this way will break some of the generators, like ninja above. The interesting error is likely the "MSVC" generator error. Though building from source on Conda with pip is tricky, as it ships its own compiler stack on some platforms, which you might not have installed. Footnotes
|
Expected behaviour
I expected OpenCV's python API to install. I have used the same proceedure in numerous conda environments & have never had a problem like this. In fact it worked just fine yesterday in a different conda env
Actual behaviour
pip
installer threw pages & pages of errors, c&p belowSteps to reproduce
As admin,
conda activate genicam
Then any of the following,
pip install opencv-contrib-python
pip install opencv-contrib-python --user
pip install opencv-python
pip install opencv-python --user
They all give the same pages & pages of errors
I would post the errors but "There was an error creating your Issue: body is too long (maximum is 65536 characters). "
So some highlights,
The text was updated successfully, but these errors were encountered: