Skip to content

OSX 10.14.1 Python 3.7 Current documentation for pip dependencies results in install error #8

@programatt

Description

@programatt

Installing the pip packages using the README.md versions resulted in several errors.

Cython needed to be upgraded to latest, 0.25.2 resulted in the following install error.

... 
  File "/private/var/folders/cb/7v3cl7jd4hg0c48d38cn6t340000gn/T/pip-install-l . 
ldtnn2n/Cython/Cython/Compiler/Visitor.py", line 15, in <module>
    from . import ExprNodes
  File "/private/var/folders/cb/7v3cl7jd4hg0c48d38cn6t340000gn/T/pip-install- 
lldtnn2n/Cython/Cython/Compiler/ExprNodes.py", line 2813
    
await = None
          ^
SyntaxError: invalid syntax`

And pygame needed to be updated to 1.9.4 because 1.9.2 resulted in this error

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

/bin/sh: sdl-config: command not found
/bin/sh: sdl-config: command not found
/bin/sh: sdl-config: command not found
/bin/sh: freetype-config: command not found
/bin/sh: freetype-config: command not found
/bin/sh: freetype-config: command not found
WARNING: "sdl-config" failed!
WARNING: "freetype-config" failed!
Hunting dependencies...
SDL     : not found
Framework SDL not found
FONT    : not found
Framework SDL_ttf not found
IMAGE   : not found
Framework SDL_image not found
MIXER   : not found
Framework SDL_mixer not found
Framework CoreMIDI found
Framework QuickTime found
PNG     : not found
JPEG    : not found
PORTMIDI: not found
FREETYPE: not found

If you get compiler errors during install, doublecheck
the compiler flags in the "Setup" file.


Continuing With "setup.py"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/cb/7v3cl7jd4hg0c48d38cn6t340000gn/T/pip-install-es348b7z/pygame/setup.py", line 294, in <module>
    write_version_module(METADATA['version'], revision)
  File "/private/var/folders/cb/7v3cl7jd4hg0c48d38cn6t340000gn/T/pip-install-es348b7z/pygame/setup.py", line 286, in write_version_module
    with open('version.py.in', 'r') as header_file:
FileNotFoundError: [Errno 2] No such file or directory: 'version.py.in'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions