Пакет Python установки и это говорят Python “Команды” setup.py egg_info “отказавший”?

Я хочу установить pygame '.Using python3.5 'пакета Python, я устанавливаю их после сначала:

$ sudo apt-get install python3.5-dev mercurial
$ sudo apt-get install libsdl-image1.2-dev libsdl2-dev libsdl-ttf2.0-dev
$ pip3 install --user hg+http://bitbucket.org/pygame/pygame

и это показывает их:

    The directory '/home/omou/.cache/pip/http' or its parent directory 
is not owned by the current user and the cache has been disabled. 
Please check the permissions and owner of that directory. If executing 
pip with sudo, you may want sudo's -H flag.
The directory '/home/omou/.cache/pip' or its parent directory is not 
owned by the current user and caching wheels has been disabled. check 
the permissions and owner of that directory. If executing pip with 
sudo, you may want sudo's -H flag.
Collecting hg+http://bitbucket.org/pygame/pygame
  Cloning hg http://bitbucket.org/pygame/pygame to /tmp/pip-7bSGiX-
build
Complete output from command python setup.py egg_info:


WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...

sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found

Hunting dependencies...
WARNING: "freetype-config" failed!
SDL     : found 1.2.15
FONT    : found
IMAGE   : found
MIXER   : found
PNG     : found
JPEG    : found
SCRAP   : found
PORTMIDI: found
PORTTIME: found
FREETYPE: not found
Missing dependencies

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-7bSGiX-build/

Я попробовал столько методов, и это не будет fixd. Кто-то говорит мне, что продолжается и как зафиксировать его.

1
задан 21 March 2017 в 06:40

1 ответ

Как Вы видите от вывода, Вы не тот, который установил зернышко. Возможно, необходимо измениться на другую учетную запись для использования зернышка. Или используйте sudo для продвижения разрешения.

1
ответ дан 7 December 2019 в 15:38

Другие вопросы по тегам:

Похожие вопросы: