[英]I am trying to install pandas for Python3.3 on Ubuntu 13.10
I had installed Python2.7 and was trying to install numpy and pandas for the same. 我已经安装了Python2.7,并试图安装numpy和pandas。 However when I saw Python3.3 was already there, I removed the 2.7 and related packages and installed numpy for python 3. But when I tried installing pandas I started getting this error
但是,当我看到Python3.3已经存在时,我删除了2.7和相关软件包,并为python 3安装了numpy。但是当我尝试安装熊猫时,我开始遇到此错误
/var/lib/dpkg/info/python-setuptools.postinst: 6: /var/lib/dpkg/info/python setuptools.postinst: pycompile: not found
dpkg: error processing python-setuptools (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
python-setuptools
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried a bunch of things like 我尝试了很多类似的东西
apt-get -f install
apt-get install -y python-central
. apt-get install -y python-central
。 Nothing seems to work out Any help/suggestions would be very helpful. 任何帮助/建议都将非常有帮助。 I am completely new to Python.
我对Python完全陌生。
The problem is that the postinstallation script for python-setuptools
can't find pycompile
, which compiles Python source to bytecode. 问题是
python-setuptools
的安装后脚本找不到pycompile
,后者将Python源代码编译为字节码。 pycompile
is part of the python-minimal
package. pycompile
是python-minimal
软件包的一部分。 You may want to try uninstalling all the Python packages you have currently then going step-by-step, installing: 您可能想尝试卸载当前拥有的所有Python软件包,然后逐步进行安装:
python2.7
(which will install python-minimal
, which contains pycompile
) python2.7
(将安装python-minimal
,其中包含pycompile
) python-setuptools
(which uses pycompile
) python-setuptools
(使用pycompile
) python-pandas
(which presumably uses python-setuptools
) python-pandas
(大概使用python-setuptools
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.