简体   繁体   English

无法在 linux mint 上安装 vpython

[英]can't install vpython on linux mint

i tried installing vpython on linux mint 19我尝试在 linux mint 19 上安装 vpython

using this commands:使用这个命令:

sudo apt-get install python3-pip
pip3 install vpython

the error i get:我得到的错误:

Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9f9b5ihc/vpython/

There is actually quite clear answer to your question in the error message you get from python:在您从 python 获得的错误消息中,您的问题实际上有很明确的答案:

ModuleNotFoundError: No module named 'setuptools' and it basically means that this module is required to complete the operation you try to perform, but it is missing in your system. ModuleNotFoundError: No module named 'setuptools' ,这基本上意味着需要此模块来完成您尝试执行的操作,但您的系统中缺少它。

You can easily install it using apt-get :您可以使用apt-get轻松安装它:

apt-get install -y python3-setuptools for python3 apt-get install -y python3-setuptools for python3

apt-get install -y python-setuptools for python apt-get install -y python-setuptools for python

Then try to run your command again and it should work.然后尝试再次运行您的命令,它应该可以工作。

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

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