简体   繁体   English

sudo python3.2 setup.py:没有提供命令

[英]sudo python3.2 setup.py :no commands supplied

I want to install MORSE in ubuntu12.4 with below link: 我想通过以下链接在ubuntu12.4中安装MORSE:

http://www.kevindemarco.com/tutorials/morse-ros-installation/ http://www.kevindemarco.com/tutorials/morse-ros-installation/

but in stap8, when i run "sudo python3.2 setup.py install" in terminal i have this error: 但是在stap8中,当我在终端中运行“ sudo python3.2 setup.py install”时,出现以下错误:

fateme@fateme-VGN-FW235J:~/builds/rospkg$ sudo python3.2 setup.py install
Traceback (most recent call last):
File "setup.py", line 4, in <module>
from setuptools import setup
ImportError: No module named setuptools

i resolved it by: sudo apt-get install python-rospkg 我通过以下方式解决了它:sudo apt-get install python-rospkg

but it install rospkg on python2.7. 但它在python2.7上安装了rospkg。 if i use "sudo python setup.py install" there is no problem . 如果我使用“ sudo python setup.py install”,则没有问题。 but when i try it with python3.2 error occured "ImportError: No module named setuptools" in http://www.kevindemarco.com/tutorials/morse-ros-installation/ i need python3.2 但是,当我尝试使用python3.2时,发生了错误:“ ImportError:没有名为setuptools的模块”在http://www.kevindemarco.com/tutorials/morse-ros-installation/中,我需要python3.2

distribute can't resolve my problem anyway. 分发仍然无法解决我的问题。

help me plz! 请帮我!

I assume you should use distribute - a setuptools fork which "offers Python 3 support". 我假设您应该使用distribute-一个“提供Python 3支持”的setuptools分支。

Installation instructions (according to documentation): 安装说明(根据文档):

It is recommended to install pip too: easy_install pip 建议也安装pip: easy_install pip

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM