import cv2
does not work and it will bring some configuration file error.
Expected behavior is that REPLit will correctly install opencv-python
for now, the problem can be overcome by forking an old repl, but it isnt a viable solution. please fix this problem!
Hey @notbmo!
Running OpenCV requires some extra configuration. Because of this, we have released a template that has everything configured and OpenCV installed here: https://replit.com/@scottatreplit/Python-OpenCV?v=1
Please let me know if the template works for you!
2 Likes
How to configure that by myself?
You can copy the .replit
and replit.nix
files into your Python Repl using the template I provided earlier. If you’re unable to locate the files mentioned, ensure that the “show hidden files” option is enabled in the file tree. You can toggle the visibility of hidden files through the three-dots menu.
1 Like
Hello
I am using this and opencv works but I now wanted to also use matplotlib and I cannot install it