You are not logged in.

#1 2019-01-21 21:11:31

daniel_shub
Member
Registered: 2012-06-21
Posts: 82

Problems with opencv and python

I am trying to update the pyschopy package [https://aur.archlinux.org/packages/psychopy/] which is a major upgrade as the code base was changed from python 2 to python 3. While the online documentation looks complete, there seems to be a number of unlisted dependencies. One of them is related to opencv. I can build and install the package but running psychopy gives me

Traceback (most recent call last):
  File "/usr/bin/psychopy", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3126, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 581, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 898, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 784, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'opencv-python' distribution was not found and is required by PsychoPy

I found a github page called opencv-python [https://github.com/skvark/opencv-python], but I feel like I should be able to do satisfy this dependency with the Arch opencv package and some knowledge.

Offline

Board footer

Powered by FluxBB