Open dbl001 opened 9 years ago
Mac OS X 10.10.5 David-Laxers-MacBook-Pro:python-goose davidlaxer$ python -V Python 2.7.10 :: Anaconda 2.3.0 (x86_64) David-Laxers-MacBook-Pro:python-goose davidlaxer$ conda -V conda 3.16.0
David-Laxers-MacBook-Pro:~ davidlaxer$ git clone https://github.com/grangier/python-goose.git Cloning into 'python-goose'... remote: Counting objects: 2464, done. remote: Total 2464 (delta 0), reused 0 (delta 0), pack-reused 2464 Receiving objects: 100% (2464/2464), 1.89 MiB | 309.00 KiB/s, done. Resolving deltas: 100% (1415/1415), done. Checking connectivity... done. David-Laxers-MacBook-Pro:~ davidlaxer$ cd python-goose David-Laxers-MacBook-Pro:python-goose davidlaxer$ ls LICENSE.txt THANKS setup.py MANIFEST.in goose tests README.rst requirements.txt David-Laxers-MacBook-Pro:python-goose davidlaxer$ sudo pip install -r requirements.txt Password: The directory '/Users/davidlaxer/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/davidlaxer/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied (use --upgrade to upgrade): Pillow in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from -r requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): lxml in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from -r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): cssselect in /Users/davidlaxer/anaconda/lib/python2.7/site-packages/cssselect-0.9.1-py2.7.egg (from -r requirements.txt (line 3)) Requirement already satisfied (use --upgrade to upgrade): jieba in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from -r requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): beautifulsoup in /Users/davidlaxer/anaconda/lib/python2.7/site-packages/BeautifulSoup-3.2.1-py2.7.egg (from -r requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): nltk in /Users/davidlaxer/anaconda/lib/python2.7/site-packages (from -r requirements.txt (line 6)) David-Laxers-MacBook-Pro:python-goose davidlaxer$ python setup.py install running install running bdist_egg running egg_info creating goose_extractor.egg-info writing requirements to goose_extractor.egg-info/requires.txt writing goose_extractor.egg-info/PKG-INFO writing top-level names to goose_extractor.egg-info/top_level.txt writing dependency_links to goose_extractor.egg-info/dependency_links.txt writing pbr to goose_extractor.egg-info/pbr.json writing manifest file 'goose_extractor.egg-info/SOURCES.txt' reading manifest file 'goose_extractor.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'goose_extractor.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py creating build creating build/lib creating build/lib/goose copying goose/__init__.py -> build/lib/goose copying goose/article.py -> build/lib/goose copying goose/cleaners.py -> build/lib/goose copying goose/configuration.py -> build/lib/goose copying goose/crawler.py -> build/lib/goose copying goose/image.py -> build/lib/goose copying goose/network.py -> build/lib/goose copying goose/outputformatters.py -> build/lib/goose copying goose/parsers.py -> build/lib/goose copying goose/text.py -> build/lib/goose copying goose/version.py -> build/lib/goose copying goose/video.py -> build/lib/goose creating build/lib/tests copying tests/__init__.py -> build/lib/tests copying tests/article.py -> build/lib/tests copying tests/configuration.py -> build/lib/tests copying tests/parsers.py -> build/lib/tests creating build/lib/goose/extractors copying goose/extractors/__init__.py -> build/lib/goose/extractors copying goose/extractors/authors.py -> build/lib/goose/extractors copying goose/extractors/content.py -> build/lib/goose/extractors copying goose/extractors/images.py -> build/lib/goose/extractors copying goose/extractors/links.py -> build/lib/goose/extractors copying goose/extractors/metas.py -> build/lib/goose/extractors copying goose/extractors/opengraph.py -> build/lib/goose/extractors copying goose/extractors/publishdate.py -> build/lib/goose/extractors copying goose/extractors/tags.py -> build/lib/goose/extractors copying goose/extractors/title.py -> build/lib/goose/extractors copying goose/extractors/tweets.py -> build/lib/goose/extractors copying goose/extractors/videos.py -> build/lib/goose/extractors creating build/lib/goose/utils copying goose/utils/__init__.py -> build/lib/goose/utils copying goose/utils/encoding.py -> build/lib/goose/utils copying goose/utils/images.py -> build/lib/goose/utils creating build/lib/tests/extractors copying tests/extractors/__init__.py -> build/lib/tests/extractors copying tests/extractors/authors.py -> build/lib/tests/extractors copying tests/extractors/base.py -> build/lib/tests/extractors copying tests/extractors/content.py -> build/lib/tests/extractors copying tests/extractors/images.py -> build/lib/tests/extractors copying tests/extractors/links.py -> build/lib/tests/extractors copying tests/extractors/metas.py -> build/lib/tests/extractors copying tests/extractors/opengraph.py -> build/lib/tests/extractors copying tests/extractors/publishdate.py -> build/lib/tests/extractors copying tests/extractors/tags.py -> build/lib/tests/extractors copying tests/extractors/title.py -> build/lib/tests/extractors copying tests/extractors/tweets.py -> build/lib/tests/extractors copying tests/extractors/videos.py -> build/lib/tests/extractors creating build/lib/goose/resources creating build/lib/goose/resources/images copying goose/resources/images/known-image-css.txt -> build/lib/goose/resources/images creating build/lib/goose/resources/text copying goose/resources/text/stopwords-ar.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-da.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-de.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-en.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-es.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-fi.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-fr.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-hu.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-id.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-it.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-ko.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-nb.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-nl.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-no.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-pl.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-pt.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-ru.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-sv.txt -> build/lib/goose/resources/text copying goose/resources/text/stopwords-zh.txt -> build/lib/goose/resources/text creating build/bdist.macosx-10.5-x86_64 creating build/bdist.macosx-10.5-x86_64/egg creating build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/article.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/cleaners.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/configuration.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/crawler.py -> build/bdist.macosx-10.5-x86_64/egg/goose creating build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/authors.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/content.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/images.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/links.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/metas.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/opengraph.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/publishdate.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/tags.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/title.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/tweets.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/extractors/videos.py -> build/bdist.macosx-10.5-x86_64/egg/goose/extractors copying build/lib/goose/image.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/network.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/outputformatters.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/parsers.py -> build/bdist.macosx-10.5-x86_64/egg/goose creating build/bdist.macosx-10.5-x86_64/egg/goose/resources creating build/bdist.macosx-10.5-x86_64/egg/goose/resources/images copying build/lib/goose/resources/images/known-image-css.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/images creating build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-ar.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-da.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-de.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-en.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-es.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-fi.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-fr.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-hu.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-id.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-it.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-ko.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-nb.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-nl.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-no.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-pl.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-pt.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-ru.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-sv.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/resources/text/stopwords-zh.txt -> build/bdist.macosx-10.5-x86_64/egg/goose/resources/text copying build/lib/goose/text.py -> build/bdist.macosx-10.5-x86_64/egg/goose creating build/bdist.macosx-10.5-x86_64/egg/goose/utils copying build/lib/goose/utils/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/goose/utils copying build/lib/goose/utils/encoding.py -> build/bdist.macosx-10.5-x86_64/egg/goose/utils copying build/lib/goose/utils/images.py -> build/bdist.macosx-10.5-x86_64/egg/goose/utils copying build/lib/goose/version.py -> build/bdist.macosx-10.5-x86_64/egg/goose copying build/lib/goose/video.py -> build/bdist.macosx-10.5-x86_64/egg/goose creating build/bdist.macosx-10.5-x86_64/egg/tests copying build/lib/tests/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/tests copying build/lib/tests/article.py -> build/bdist.macosx-10.5-x86_64/egg/tests copying build/lib/tests/configuration.py -> build/bdist.macosx-10.5-x86_64/egg/tests creating build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/__init__.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/authors.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/base.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/content.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/images.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/links.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/metas.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/opengraph.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/publishdate.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/tags.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/title.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/tweets.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/extractors/videos.py -> build/bdist.macosx-10.5-x86_64/egg/tests/extractors copying build/lib/tests/parsers.py -> build/bdist.macosx-10.5-x86_64/egg/tests byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/article.py to article.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/cleaners.py to cleaners.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/configuration.py to configuration.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/crawler.py to crawler.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/authors.py to authors.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/content.py to content.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/images.py to images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/links.py to links.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/metas.py to metas.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/opengraph.py to opengraph.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/publishdate.py to publishdate.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/tags.py to tags.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/title.py to title.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/tweets.py to tweets.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/extractors/videos.py to videos.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/image.py to image.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/network.py to network.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/outputformatters.py to outputformatters.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/parsers.py to parsers.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/text.py to text.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/utils/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/utils/encoding.py to encoding.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/utils/images.py to images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/version.py to version.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/goose/video.py to video.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/article.py to article.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/configuration.py to configuration.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/__init__.py to __init__.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/authors.py to authors.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/base.py to base.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/content.py to content.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/images.py to images.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/links.py to links.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/metas.py to metas.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/opengraph.py to opengraph.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/publishdate.py to publishdate.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/tags.py to tags.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/title.py to title.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/tweets.py to tweets.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/extractors/videos.py to videos.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/tests/parsers.py to parsers.pyc creating build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/PKG-INFO -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/not-zip-safe -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/pbr.json -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/requires.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying goose_extractor.egg-info/top_level.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO creating dist creating 'dist/goose_extractor-1.0.25-py2.7.egg' and adding 'build/bdist.macosx-10.5-x86_64/egg' to it removing 'build/bdist.macosx-10.5-x86_64/egg' (and everything under it) Processing goose_extractor-1.0.25-py2.7.egg removing '/users/davidlaxer/anaconda/lib/python2.7/site-packages/goose_extractor-1.0.25-py2.7.egg' (and everything under it) creating /users/davidlaxer/anaconda/lib/python2.7/site-packages/goose_extractor-1.0.25-py2.7.egg Extracting goose_extractor-1.0.25-py2.7.egg to /users/davidlaxer/anaconda/lib/python2.7/site-packages goose-extractor 1.0.25 is already the active version in easy-install.pth Installed /users/davidlaxer/anaconda/lib/python2.7/site-packages/goose_extractor-1.0.25-py2.7.egg Processing dependencies for goose-extractor==1.0.25 Searching for nltk==3.0.3 Best match: nltk 3.0.3 Adding nltk 3.0.3 to easy-install.pth file Using /users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for BeautifulSoup==3.2.1 Best match: BeautifulSoup 3.2.1 Processing BeautifulSoup-3.2.1-py2.7.egg BeautifulSoup 3.2.1 is already the active version in easy-install.pth Using /users/davidlaxer/anaconda/lib/python2.7/site-packages/BeautifulSoup-3.2.1-py2.7.egg Searching for jieba==0.32 Best match: jieba 0.32 Adding jieba 0.32 to easy-install.pth file Using /users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for cssselect==0.9.1 Best match: cssselect 0.9.1 Processing cssselect-0.9.1-py2.7.egg cssselect 0.9.1 is already the active version in easy-install.pth Using /users/davidlaxer/anaconda/lib/python2.7/site-packages/cssselect-0.9.1-py2.7.egg Searching for lxml==3.4.4 Best match: lxml 3.4.4 Adding lxml 3.4.4 to easy-install.pth file Using /users/davidlaxer/anaconda/lib/python2.7/site-packages Searching for Pillow==2.9.0 Best match: Pillow 2.9.0 Adding Pillow 2.9.0 to easy-install.pth file Using /users/davidlaxer/anaconda/lib/python2.7/site-packages Finished processing dependencies for goose-extractor==1.0.25 David-Laxers-MacBook-Pro:python-goose davidlaxer$ ipython Python 2.7.10 |Anaconda 2.3.0 (x86_64)| (default, May 28 2015, 17:04:42) Type "copyright", "credits" or "license" for more information. IPython 4.0.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import goose --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-a820dc1afbd9> in <module>() ----> 1 import goose /Users/davidlaxer/python-goose/goose/__init__.py in <module>() 27 from goose.version import version_info, __version__ 28 from goose.configuration import Configuration ---> 29 from goose.crawler import CrawlCandidate 30 from goose.crawler import Crawler 31 /Users/davidlaxer/python-goose/goose/crawler.py in <module>() 29 from goose.extractors.videos import VideoExtractor 30 from goose.extractors.title import TitleExtractor ---> 31 from goose.extractors.images import ImageExtractor 32 from goose.extractors.links import LinksExtractor 33 from goose.extractors.tweets import TweetsExtractor /Users/davidlaxer/python-goose/goose/extractors/images.py in <module>() 29 from goose.image import Image 30 from goose.utils import FileHelper ---> 31 from goose.utils.images import ImageUtils 32 33 KNOWN_IMG_DOM_NAMES = [ /Users/davidlaxer/python-goose/goose/utils/images.py in <module>() 24 import os 25 import urllib2 ---> 26 from PIL import Image 27 from goose.utils.encoding import smart_str 28 from goose.image import ImageDetails /Users/davidlaxer/anaconda/lib/python2.7/site-packages/PIL/Image.py in <module>() 61 # Also note that Image.core is not a publicly documented interface, 62 # and should be considered private and subject to change. ---> 63 from PIL import _imaging as core 64 if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None): 65 raise ImportError("The _imaging extension was built for another " ImportError: dlopen(/Users/davidlaxer/anaconda/lib/python2.7/site-packages/PIL/_imaging.so, 2): Library not loaded: libjpeg.8.dylib Referenced from: /Users/davidlaxer/anaconda/lib/python2.7/site-packages/PIL/_imaging.so Reason: Incompatible library version: _imaging.so requires version 13.0.0 or later, but libjpeg.8.dylib provides version 12.0.0 In [2]:
I have xampp installed, and I add "/Applications/XAMPP/xamppfiles/lib" to LIBRARY_PATH, and xampp use the lower version of libtiff。
Just rm all libtiff* in /Applications/XAMPP/xamppfiles/lib , then it work
Mac OS X 10.10.5 David-Laxers-MacBook-Pro:python-goose davidlaxer$ python -V Python 2.7.10 :: Anaconda 2.3.0 (x86_64) David-Laxers-MacBook-Pro:python-goose davidlaxer$ conda -V conda 3.16.0