python怎么安装turtle_Turtle模块安装

python3.7.0中,Turtle海龟模块安装指南

1.查看是否安装turtle

查看Python中已经安装的模块,在cmd命令行输入:pip3 list

如果没有找到turtle,就进行安装

D:\pyhtonworkspace>pip3 list

Package Version Location

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

attrs 19.1.0

Automat 0.7.0

constantly 15.1.0

hyperlink 19.0.0

idna 2.8

2.安装turtle

在命令行输入:pip3 install turtle

进行安装

D:\pyhtonworkspace>pip3 install turtle

3.python3安装turtle失败解决方案

在进行安装的过程中,会提示step.py egg_info:

Collecting turtle

Using cached https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File "", line 1, in File "/tmp/pip-install-hpqxw6_s/turtle/setup.py", line 40

exc

你可能感兴趣的:(python怎么安装turtle_Turtle模块安装)