Problemas na instalação do pygame para o python 3

0

Eu corro o seguinte, por pygame.org:

python3 -m pip pygame de instalação --user

e recebo o seguinte erro:

Traceback (most recent call last):
 File "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main
   mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
 File "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details
   return _get_module_details(pkg_main_name, error)
 File "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details
   __import__(pkg_name)
 File "/usr/lib/python3/dist-packages/pip/__init__.py", line 59, in    <module>
   from pip.log import logger
 File "/usr/lib/python3/dist-packages/pip/log.py", line 9, in <module>
   import colorama, pkg_resources
 File "<frozen importlib._bootstrap>", line 971, in _find_and_load
 File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
 File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
 File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
 File "/usr/share/python-wheels/setuptools-3.3-py2.py3-none-any.whl/pkg_resources.py", line 1479, in <module>
   register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
  AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

Estou usando o Linux Mint 17.3 (18.x congelou meu laptop). Quando tento sudo o apt-get, ele diz que o pacote não pode ser encontrado. Eu habilitei todos os repositórios sem sorte. Consegui instalar o pacote pygame do Python 2.7 para instalar, mas não tive sorte com o Python 3.

    
por Timothy Hyer-Devine 02.12.2017 / 02:20

0 respostas