Python Forum
Can't install turtle - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Can't install turtle (/thread-20942.html)



Can't install turtle - Josh_Python890 - Sep-07-2019

Hi folks I'm having issues installing turtle

This is the verbose output from pip run in powershell with admin rights:

Output:
PS C:\WINDOWS\system32> pip install turtle -v Created temporary directory: C:\Users\Joshu\AppData\Local\Temp\pip-ephem-wheel-cache-v81gf84y Created temporary directory: C:\Users\Joshu\AppData\Local\Temp\pip-req-tracker-l1ofsgnz Created requirements tracker 'C:\\Users\\Joshu\\AppData\\Local\\Temp\\pip-req-tracker-l1ofsgnz' Created temporary directory: C:\Users\Joshu\AppData\Local\Temp\pip-install-kvfunlui Collecting turtle 1 location(s) to search for versions of turtle: * https://pypi.org/simple/turtle/ Getting page https://pypi.org/simple/turtle/ Found index url https://pypi.org/simple Looking up "https://pypi.org/simple/turtle/" in the cache Request header has "max_age" as 0, cache bypassed Starting new HTTPS connection (1): pypi.org:443 https://pypi.org:443 "GET /simple/turtle/ HTTP/1.1" 304 0 Analyzing links from page https://pypi.org/simple/turtle/ Found link https://files.pythonhosted.org/packages/02/bd/bb496396b18d42786b73357de99733370515dd0e69d24b500d1fec35e9d1/turtle-0.0.1.tar.gz#sha256=dde5f807efa8a377f0beed67cff90802f29a6bd9ee93cf63058b9182cb09fcc8 (from https://pypi.org/simple/turtle/), version: 0.0.1 Found link https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz#sha256=edff7868ddfeba60cb2dcc3fb2218f29fd042ab697dcac0723e3e16a330979dd (from https://pypi.org/simple/turtle/), version: 0.0.2 Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect Given no hashes to check 2 links for project 'turtle': discarding no candidates Using version 0.0.2 (newest of versions: 0.0.1, 0.0.2) Created temporary directory: C:\Users\Joshu\AppData\Local\Temp\pip-unpack-stv2we_k Looking up "https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz" in the cache Current age based on date: 19553 Ignoring unknown cache-control directive: immutable Freshness lifetime from max-age: 365000000 The response is "fresh", returning cached response 365000000 > 19553 Using cached https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz Downloading from URL https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz#sha256=edff7868ddfeba60cb2dcc3fb2218f29fd042ab697dcac0723e3e16a330979dd (from https://pypi.org/simple/turtle/) Added turtle from https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz#sha256=edff7868ddfeba60cb2dcc3fb2218f29fd042ab697dcac0723e3e16a330979dd to build tracker 'C:\\Users\\Joshu\\AppData\\Local\\Temp\\pip-req-tracker-l1ofsgnz' Running setup.py (path:C:\Users\Joshu\AppData\Local\Temp\pip-install-kvfunlui\turtle\setup.py) egg_info for package turtle Running command python setup.py egg_info Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\Joshu\AppData\Local\Temp\pip-install-kvfunlui\turtle\setup.py", line 40 except ValueError, ve: ^ SyntaxError: invalid syntax Cleaning up... Removing source in C:\Users\Joshu\AppData\Local\Temp\pip-install-kvfunlui\turtle Removed turtle from https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz#sha256=edff7868ddfeba60cb2dcc3fb2218f29fd042ab697dcac0723e3e16a330979dd from build tracker 'C:\\Users\\Joshu\\AppData\\Local\\Temp\\pip-req-tracker-l1ofsgnz' Removed build tracker 'C:\\Users\\Joshu\\AppData\\Local\\Temp\\pip-req-tracker-l1ofsgnz' ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Exception information: Traceback (most recent call last): File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main status = self.run(options, args) File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\commands\install.py", line 345, in run resolver.resolve(requirement_set) File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\legacy_resolve.py", line 196, in resolve self._resolve_one(requirement_set, req) File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\legacy_resolve.py", line 359, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\legacy_resolve.py", line 307, in _get_abstract_dist_for self.require_hashes File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\operations\prepare.py", line 215, in prepare_linked_requirement finder, self.build_isolation, File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\distributions\source.py", line 79, in prepare_distribution_metadata self.req.prepare_metadata() File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\req\req_install.py", line 551, in prepare_metadata self.run_egg_info() File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\req\req_install.py", line 628, in run_egg_info command_desc='python setup.py egg_info') File "c:\program files (x86)\python37-32\lib\site-packages\pip\_internal\utils\misc.py", line 931, in call_subprocess raise InstallationError(exc_msg) pip._internal.exceptions.InstallationError: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I'm using python version 3.7.4 and pip 19.2.3

Thanks,
Josh

Woops...turns out it's already built in with standard python...