Skip to content
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

mac os install error #258

Closed
TomYule opened this issue Nov 14, 2019 · 2 comments
Closed

mac os install error #258

TomYule opened this issue Nov 14, 2019 · 2 comments

Comments

@TomYule
Copy link

TomYule commented Nov 14, 2019

Expected behaviour

pip3 install opencv-python 
pip install opencv-python

Write here how did you expect the library to function.

Actual behaviour

Write here what went wrong.

Collecting opencv-python
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python

Steps to reproduce

  • example code

  • operating system
    I use mac os 10.14.5

  • architecture (e.g. x86)

  • opencv-python version
    python 3.8

I don't know how to do it, please help me.

@skvark
Copy link
Member

skvark commented Nov 14, 2019

There are no Python 3.8 wheels yet: #253

@skvark skvark closed this as completed Nov 14, 2019
@TomYule
Copy link
Author

TomYule commented Nov 14, 2019

cd newcvtest/
(base) apple@appledeimac:~/Dev/newcvtest$source bin/activate
(newcvtest) (base) apple@appledeimac:~/Dev/newcvtest$ls
bin     include lib
(newcvtest) (base) apple@appledeimac:~/Dev/newcvtest$ln -s /usr/local/Cellar/opencv/4.1.2/lib/python3.7/site-packages/cv2/python-3.7/cv2.cpython-37m-darwin.so cv2.so
ln: cv2.so: Permission denied
(newcvtest) (base) apple@appledeimac:~/Dev/newcvtest$sudo ln -s /usr/local/Cellar/opencv/4.1.2/lib/python3.7/site-packages/cv2/python-3.7/cv2.cpython-37m-darwin.so cv2.so
(newcvtest) (base) apple@appledeimac:~/Dev/newcvtest$pip freeze
(newcvtest) (base) apple@appledeimac:~/Dev/newcvtest$python
Python 3.8.0 (v3.8.0:fa919fdf25, Oct 14 2019, 10:23:27)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> exit()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants