python3.82 如何安装pandas模块_在Cloud9中安装Python模块pandas

我很难在Cloud9 ide中安装某些Python模块。

我试过使用easy_install(他们推荐的方法)和pip,但同时使用这两种方法,我会收到大量警告并以错误结尾(请参阅下面的错误消息)。

我读到内存问题可能是问题所在,可能的解决方案是增加交换空间,但是显然Cloud9不允许这样做,因为sudo swapon /swap1无法显示Operation not permitted

有人在Cloud9安装过熊猫吗?我还应该试试别的方法吗?

更新:我设法使用Linux发行版的包管理器安装了pandas:sudo apt-get install python-pandas但是我得到了0.13版本,需要当前版本0.16才能使用pandasql。

这就是我要做的sudo easy_install pandas:x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1)

Please submit a full bug report, with preprocessed source if appropriate.

See for instructions.

error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 4

这就是我要做的pip install pandas:Traceback (most recent call last):

File "/usr/bin/pip", line 9, in

load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()

File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 185, in main

return command.main(cmd_args)

File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main

text = '\n'.join(complete_log)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 41: ordinal not in range(128)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值