-
Notifications
You must be signed in to change notification settings - Fork 104
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
OpenCV/Numpy Installation Issue on Conda Python 3.10 (MacOS) #41
Comments
Hello @wjbmattingly I was setting up CI and other configuration I decided to take look this problem and
I assumed mac you used apple silicon and I used brew to install all of the pythons(3.6 to 3.13) all of them tested under new virtualenv envs and no-cache installs OSX version: Sonama 14.6 |
@wjbmattingly related PR #43 I worked for ci and package dependencies (I tested on this PR branch) |
@wjbmattingly We just merged changes I made so could you please re-try this to verify is it work or not, thank you. |
This is so strange. I created a new Conda env and reinstalled. I have the same error for some reason. Here is the full error: I am in a fresh Conda env with Python 3.10. Perhaps it's an issue with Conda? I can try using virtualenv to see if that helps. All I did to install was the following pip install --no-cache-dir maestro
|
@wjbmattingly It is looks like a conflict between cv2 and numpy, what I can suggest to you is remove "opencv-python-headless" and use conda version of opencv instead of pypi package, But I am pretty sure it works on normal python installations (I installed all of them via "brew" (brew install [email protected],brew install [email protected],brew install [email protected]) I also mode github action that making sure it works for OSX as well. So I am pretty sure it works fine (but conda has different package source) |
Ok! That did the trick, thanks so much!! (I uninstalled and used the conda version of opencv) I have a few new errors, but I think I can now debug these. |
I will work on conda of maestro so hopefully you can install easily, let's keep this issue open but let me change title of issue to "conda related" bug so I can work on this too as well. cc @SkalskiP |
Thanks! That works for me. If you want me to do testing when you have this ready, let me know. More than happy to test it out. |
Search before asking
Bug
First of all, thank you for this package! I am excited to test it out. I have a slight issue, however. I created a fresh environment to test out the package.
When trying to import modules from the maestro package, there's a NumPy version compatibility error. The error suggests that a module compiled with NumPy 1.x is being run with NumPy 2.1.1, which can cause crashes.
Code to reproduce:
Error message:
Environment:
Environment
Environment:
Minimal Reproducible Example
Code to reproduce:
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: