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

macos 10.9 install python-tesserac homebrew #53

Closed
GoogleCodeExporter opened this issue May 29, 2015 · 3 comments
Closed

macos 10.9 install python-tesserac homebrew #53

GoogleCodeExporter opened this issue May 29, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I just do it from

How to compile python-tesseract for Homebrew(Mac Mountain Lion/Maverick)

but, when i exec the step, it error
python setup.py clean

it shows

os=darwin
Current Version : tesseract
~~~cv_pc~~~
{'extra_link_args': 
['/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_nonfree.dy
lib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_ts.a', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_videostab.d
ylib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_video.dylib
', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_features2d.
dylib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_stitching.d
ylib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_imgproc.dyl
ib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_photo.dylib
', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_highgui.dyl
ib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_calib3d.dyl
ib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_superres.dy
lib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_core.dylib'
, 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_legacy.dyli
b', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_ocl.dylib',

'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_objdetect.d
ylib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_gpu.dylib',

'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_flann.dylib
', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_contrib.dyl
ib', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/lib/libopencv_ml.dylib'],
 'include_dirs': 
['/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/include/opencv', 
'/Users/lee/Code/homebrew-master/Cellar/opencv/2.4.7.1/include']}
['extra_link_args', 'include_dirs']
add lib: opencv_nonfree
add lib: opencv_ts
add lib: opencv_videostab
add lib: opencv_video
add lib: opencv_features2d
add lib: opencv_stitching
add lib: opencv_imgproc
add lib: opencv_photo
add lib: opencv_highgui
add lib: opencv_calib3d
add lib: opencv_superres
add lib: opencv_core
add lib: opencv_legacy
add lib: opencv_ocl
add lib: opencv_objdetect
add lib: opencv_gpu
add lib: opencv_flann
add lib: opencv_contrib
add lib: opencv_ml
===========['stdc++', 'tesseract', 'lept', 'opencv_nonfree', 'opencv_ts', 
'opencv_videostab', 'opencv_video', 'opencv_features2d', 'opencv_stitching', 
'opencv_imgproc', 'opencv_photo', 'opencv_highgui', 'opencv_calib3d', 
'opencv_superres', 'opencv_core', 'opencv_legacy', 'opencv_ocl', 
'opencv_objdetect', 'opencv_gpu', 'opencv_flann', 'opencv_contrib', 
'opencv_ml']===========
['.']
Traceback (most recent call last):
  File "setup.py", line 251, in <module>
    swig_opts=["-c++", "-I"+inclpath('tesseract'),
TypeError: cannot concatenate 'str' and 'NoneType' objects

Original issue reported on code.google.com by avincr...@gmail.com on 11 Jan 2014 at 11:04

@GoogleCodeExporter
Copy link
Author

And my homebrew is not in "/usr/local/",
i unzip it ~user/code/, and $ln -s /xx/code/homebrew/bin/brew 
/usr/local/bin/brew

so, someone could tell me how to continue?

Original comment by avincr...@gmail.com on 11 Jan 2014 at 11:12

@GoogleCodeExporter
Copy link
Author

check whether the following address exists:['.', 
'/usr/local/include/tesseract', '/usr/local/include/leptonica', 
'/usr/local/include/opencv2', '/usr/local/include/opencv']

Original comment by FreeT...@gmail.com on 12 Jan 2014 at 3:57

@GoogleCodeExporter
Copy link
Author

Original comment by FreeT...@gmail.com on 9 May 2014 at 7:50

  • Changed state: Fixed

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

No branches or pull requests

1 participant