You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/07/29 03:59:42 UTC

[GitHub] cjolivier01 commented on issue #7166: add support for port package manager

cjolivier01 commented on issue #7166: add support for port package manager
URL: https://github.com/apache/incubator-mxnet/pull/7166#issuecomment-318801956
 
 
   Yes, so libmxnet.so is linked to a different OpenCV shared object than the
   OpenCV python module (cv2.so).  There also appears to be a similar conflict
   with two numpy versions. Try to remove your personal version of OpenCV and
   rebuild.  try to use the official distributions of OpenCV rather than
   personally-built ones or ones acquired by other means if you get this sort
   of problem (or be sure to remove the official versions to use your own
   build, etc).
   
   
   On Fri, Jul 28, 2017 at 8:54 PM Chris Olivier <cj...@gmail.com> wrote:
   
   >
   >
   >
   > On Fri, Jul 28, 2017 at 6:17 PM Rahul Huilgol <no...@github.com>
   > wrote:
   >
   >> *@rahul003* commented on this pull request.
   >>
   >> I want to bring up something, which may or may not be concerning, so
   >> someone takes a second look. During test, I found the following which might
   >> indicate a version issue.
   >>
   >> objc[99608]: Class CaptureDelegate is implemented in both /usr/local/opt/opencv/lib/libopencv_highgui.2.4.dylib (0x10422dcd0) and /Users/huilgolr/Library/Python/2.7/lib/python/site-packages/cv2/cv2.so (0x10e1e2658). One of the two will be used. Which one is undefined.
   >> RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
   >> RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
   >>
   >> SUCCESS: MXNet test passed
   >> SUCCESS: MXNet is successfully installed and works fine!
   >> objc[99615]: Class CaptureDelegate is implemented in both /usr/local/opt/opencv/lib/libopencv_highgui.2.4.dylib (0x10dde0cd0) and /Users/huilgolr/Library/Python/2.7/lib/python/site-packages/cv2/cv2.so (0x117c63658). One of the two will be used. Which one is undefined.
   >> RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
   >> RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
   >>
   >> On installing pip package of numpy, version shown is 1.13.1 . When
   >> installing mxnet however, it says
   >>
   >> Best match: numpy 1.8.0rc1
   >> numpy 1.8.0rc1 is already the active version in easy-install.pth
   >>
   >> ------------------------------
   >>
   >> In setup-utils/install-mxnet-osx-python.sh
   >> <https://github.com/apache/incubator-mxnet/pull/7166#discussion_r130206398>
   >> :
   >>
   >> > +	export mac_vers=`sw_vers -productVersion | cut -d '.' -f 1,2`
   >> +	if [[ $mac_vers != "10.11" && $mac_vers != "10.12" ]];
   >> +	then
   >> +		echo " "
   >> +		echo "ERROR: macOS version $mac_vers NOT supported."
   >> +		echo " "
   >> +		echo "Your macOS version is:"
   >> +		sw_vers
   >> +		echo " "
   >> +		exit 1
   >> +	fi
   >> +} # chk_mac_vers()
   >> +
   >> +install_brew() {
   >> +	echo " "
   >> +	echo "BEGIN: Check/Install/Update Homebrew"
   >>
   >> It's confusing here because the question that follows this line asks
   >> about installing homebrew AND dependencies, but the heading here is for
   >> Homebrew only. It might be better if this BEGIN:... is printed after
   >> that question is asked. Because that is when the step actually starts.
   >>
   >> ?
   >> You are receiving this because you are subscribed to this thread.
   >> Reply to this email directly, view it on GitHub
   >> <https://github.com/apache/incubator-mxnet/pull/7166#pullrequestreview-53061310>,
   >> or mute the thread
   >> <https://github.com/notifications/unsubscribe-auth/AKts_Tn7MfZvZBxLGQFKoUx2hZwjbTKeks5sSog6gaJpZM4OgVR2>
   >> .
   >>
   >
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services