[MacPorts] #58873: opencv 3.4.7 broken?

MacPorts noreply at macports.org
Sat Aug 24 18:39:14 UTC 2019


#58873: opencv 3.4.7 broken?
---------------------------+----------------------
  Reporter:  renzresearch  |      Owner:  (none)
      Type:  defect        |     Status:  reopened
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.4
Resolution:                |   Keywords:
      Port:  opencv        |
---------------------------+----------------------

Comment (by kencu):

 `#! /usr/bin/env python` is not necessarily specific enough. It often will
 go to the system python, or another python. Whichever one comes up first
 in the path. You can find the one that will be used with `which python`.

 How about try your script by referencing the exact python you want:
 {{{
 /opt/local/bin/python2.7
 }}}
 and see how that works for you.

 You can also modify which `python` is used with
 {{{
 $ port select --list python
 Available versions for python:
         none
         python25-apple
         python26-apple
         python27 (active)
         python34
         python35
         python36
         python37
 }}}
 and then do this to force one of them to the one you want `python` to be:
 {{{
 sudo port select python python27
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58873#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list