-
Notifications
You must be signed in to change notification settings - Fork 891
ModuleNotFoundError: No module named 'skbuild' #387
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
@skvark I have pip version 20+ |
Send the output of |
ok, the problem was in pip of jupyter-notebook.. thanks.. |
Please let us know what allowed you to conclude that. |
@Semnodime I removed jupyter and installed it again |
I have the same problem with pip version 20.0.2. I'm on Ubuntu 20.04 on a Raspberry Pi 4. |
@skvark Installing scikit-build before attempting to install opencv made opencv successful on my Raspberry Pi 4. My end goal is still to get stable-baselines to function properly, and it won't finish its install. However, it is no longer getting stopped by its opencv requirements. It is always one step forward and three steps back trying to get anything to work on Pis. I just thought I'd let you know that it at least seemed to install properly when I took care of the scikit-build requirement manually as such: pip3 install scikit-build |
Thanks for the info. It's a bit odd it worked via that way - if your |
It's definitely not as simple as "pip is too old". Ubuntu 18.04, python 3.8 and pip 20.2.3 give me this same error. I wanted to build a wheel for local virtualenvs from source. Installing scikit-build seems to have resolved it. |
Please post full list of commands you used when you encountered the error so I can try to reproduce it - if there's some bug in how build dependencies are defined in pyproject.toml I'm happy to fix it. If there's some bug in As noted above, also the original issue here was about too old Ubuntu and other Linux systems ship usually with very old All this boils down to Python's package management system. I hope it will be some day a bit simpler to use and update. See https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support for more info about how |
Sure, here's an example, on Ubuntu 18.04 LTS, x86_64, with Python 3.8 and pip 20.2.3 in a fresh virtualenv. I got my wheel, and some simple tests indicate it's working for me, so thank you for all your hard work. All I wanted to point out was that it (also) may NOT be related to old pip.
|
Thanks for the detailed logs. When you compare the tracebacks in this issue and in the output you provided you'll notice a difference. Original error: File "/tmp/pip-build-rnhk49o3/opencv-python/setup.py", line 9, in vs. error you encountered: File "/tmp/pip-install-796_mmlu/cmake/setup.py", line 7, in This is a known issue in |
It's always because the too old pip, Thankx |
Hi, I'm still unable to install. I get the errror: TypeError: 'NoneType' object is not iterable |
Expected behaviour
I was trying to install it with :
Actual behaviour
Steps to reproduce
Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: