我试图安装wordcloud,但我遇到了一些问题,我有最新版本的osxyosemite和GCC。在

如下面的消息所示,GCC和cython中存在问题,终端上显示的是:idomyoung@idomyeongs-MacBook-Pro:~$ sudo pip install wordcloud

Password:

The directory '/Users/idomyoung/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/idomyoung/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.

Collecting wordcloud

Downloading wordcloud-1.2.tar.gz (162kB)

100% |████████████████████████████████| 163kB 115kB/s

Installing collected packages: wordcloud

Running setup.py install for wordcloud

Complete output from command /Users/idomyoung/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-h0FZer/wordcloud/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-56Yo14-record/install-record.txt --single-version-externally-managed --compile:

running install

running build

running build_py

creating build

creating build/lib.macosx-10.5-x86_64-2.7

creating build/lib.macosx-10.5-x86_64-2.7/wordcloud

copying wordcloud/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/wordcloud

copying wordcloud/color_from_image.py -> build/lib.macosx-10.5-x86_64-2.7/wordcloud

copying wordcloud/wordcloud.py -> build/lib.macosx-10.5-x86_64-2.7/wordcloud

copying wordcloud/stopwords -> build/lib.macosx-10.5-x86_64-2.7/wordcloud

copying wordcloud/DroidSansMono.ttf -> build/lib.macosx-10.5-x86_64-2.7/wordcloud

running build_ext

building 'wordcloud.query_integral_image' extension

creating build/temp.macosx-10.5-x86_64-2.7

creating build/temp.macosx-10.5-x86_64-2.7/wordcloud

gcc -fno-strict-aliasing -I/Users/idomyoung/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/idomyoung/anaconda/include/python2.7 -c wordcloud/query_integral_image.c -o build/temp.macosx-10.5-x86_64-2.7/wordcloud/query_integral_image.o

wordcloud/query_integral_image.c:16230:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {

^

wordcloud/query_integral_image.c:302:29: warning: unused function '__Pyx_Py_UNICODE_strlen' [-Wunused-function]

static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)

^

wordcloud/query_integral_image.c:16370:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]

static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {

^

wordcloud/query_integral_image.c:14326:26: warning: unused function '__Pyx_GetBufferAndValidate' [-Wunused-function]

static CYTHON_INLINE int __Pyx_GetBufferAndValidate(

^

wordcloud/query_integral_image.c:14360:27: warning: unused function '__Pyx_SafeReleaseBuffer' [-Wunused-function]

static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info) {

^

wordcloud/query_integral_image.c:14433:1: warning: unused function '__pyx_add_acquisition_count_locked' [-Wunused-function]

__pyx_add_acquisition_count_locked(__pyx_atomic_int *acquisition_count,

^

wordcloud/query_integral_image.c:14443:1: warning: unused function '__pyx_sub_acquisition_count_locked' [-Wunused-function]

__pyx_sub_acquisition_count_locked(__pyx_atomic_int *acquisition_count,

^

wordcloud/query_integral_image.c:15021:32: warning: unused function '__Pyx_GetItemInt_List_Fast' [-Wunused-function]

static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,

^

wordcloud/query_integral_image.c:15035:32: warning: unused function '__Pyx_GetItemInt_Tuple_Fast' [-Wunused-function]

static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,

^

wordcloud/query_integral_image.c:15995:27: warning: function '__Pyx_PyInt_As_char' is not needed and will not be emitted [-Wunneeded-internal-declaration]

static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *x) {

^

wordcloud/query_integral_image.c:16090:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]

static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {

^

11 warnings generated.

gcc -bundle -undefined dynamic_lookup -L/Users/idomyoung/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/wordcloud/query_integral_image.o -L/Users/idomyoung/anaconda/lib -o build/lib.macosx-10.5-x86_64-2.7/wordcloud/query_integral_image.so

ld: library not found for -lgcc_s.10.5

clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/Users/idomyoung/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-h0FZer/wordcloud/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-56Yo14-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-h0FZer/wordcloud

wordcloud出错_我在安装wordcloud时出错相关推荐

  1. 【错误记录】使用./make.sh ./make.sh install命令安装FastDFS时出错

    问题: 使用./make.sh && ./make.sh install命令安装FastDFS时出错: /usr/include/fastcommon/ioevent.h:82:2: ...

  2. java插件怎么安装不了_java-尝试安装插件时出错

    java-尝试安装插件时出错 我正在尝试在Eclipse Luna中安装插件. 我安装了Papyrus,并尝试安装SWT Designer,但是在完成下载/安装之前,我得到了一个错误: An erro ...

  3. scrapy 安装_安装scrapy时出错

    Python3环境下安装scrapy 环境:win7,win10 Python 3.5.2 1.首先打开Anaconda Prompt 执行命令: pip install scrapy 若未出错,表示 ...

  4. 启动转换安装失败 拷贝windows安装文件时出错_在Ubuntu16.04下安装MATLAB2017b

    1. 前言 最近在折腾Ubuntu系统的高端机子,matlab这家伙的交互和可视化太方便了!于是想在Linux下安装matlab,在各个版本中,matlab2017的性价比是非常高的,因此选择安装介个 ...

  5. python安装环境变量出错_在windows 10上安装twisted时出错。INCLUDE环境变量为空

    我已经在我的windows机器上安装了python3.4.4,并试图在我的机器上安装twisted库.在>>>python Python 3.4.4 (v3.4.4:737efcad ...

  6. grub shell 错误_使用grub-install修复Grub时出错

    你的位置: 问答吧 -> Debian -> 问题详情 使用grub-install修复Grub时出错 WinXP+Debian双系统,由于误操作导致开机后无法进入系统,错误信息为: GR ...

  7. 安装 ABAQUS2020时出错

    在安装abaqus2020时 输入27800@计算机名称    后出现以下弹窗内容 Your Abaqus license server is running with an unsupported ...

  8. python3.5安装pillow_Python3.5在Windows 10上安装Pillow时出错

    当尝试在运行Python 3.5的Windows 10计算机上使用easy\u installer安装Pillow时:C:\Users\MMG\AppData\Local\Programs\Pytho ...

  9. 自学java编译老是出错_编写HelloWorld程序编译时提示写入HelloWorld时出错是什么意思...

    编写HelloWorld程序编译时提示写入HelloWorld时出错是什么意思 这个能出错的地方就难说了,能给出代码或者错误提示吗 为什么javac编译后说写入错误呢HelloWorld.java : ...

最新文章

  1. Spark RDD/Core 编程 API入门系列之动手实战和调试Spark文件操作、动手实战操作搜狗日志文件、搜狗日志文件深入实战(二)...
  2. JAVA简性_Java简介
  3. 一加9 Pro渲染图曝光:6.55英寸曲面屏 左上角打孔
  4. python正则表达式怎么看_python如何使用正则表达式
  5. window下安装mysql
  6. Linux的程序安装和包管理
  7. 访问虚拟机web应用程序
  8. 2015年1月c语言程序设 第二版,2015年电大1253+C语言程序设计A(2010年1月)小抄参考.doc...
  9. 电路设计_CAN总线基础知识
  10. [Ubuntu] 安装百度网盘客户端
  11. oracle中字符串长度计算,根据 oracle 标准计算超长字符串的长度
  12. 更新提示!Chrome新的零日漏洞正被利用
  13. 今天nba预测分析_NBA情报预测分析_NBA足球俱乐部 - 全球体育网
  14. Java excel导出压缩zip并加密(拿起即用,有用请点赞,不做白嫖怪!)
  15. 快速傅里叶变换(FFT)的原理及公式
  16. ChatGPT这是要抢走我的饭碗?我10年硬件设计都有点慌了
  17. 【JS】Math对象随机数方法
  18. IEEE754 详点
  19. 云盘数据库设计mysql_一份最实用的云数据库架构设计与实践指南(内含PPT)
  20. [DIY原创]万年历

热门文章

  1. 计算机软考英语题翻译,软考专业英语真题、译文及答案.docx
  2. 最新最全论文合集——FOCS 历年最佳论文汇总
  3. mysql的下载与安装
  4. 中国电信开启移动互联网“全”时代
  5. linux 接收中文数据乱码,linux中文乱码问题的解决方法
  6. 详细设计(流程图、盒图、判定表、判定树)
  7. ​暴风看电影2015 v2.14 官方免费版
  8. Python - 数据类型之字符串、数字
  9. ping添加时间输出
  10. CSS中清除浮动的代码