Coder Social home page Coder Social logo

SyntaxError: invalid syntax about deep_maze HOT 4 CLOSED

fanyuzeng avatar fanyuzeng commented on September 25, 2024
SyntaxError: invalid syntax

from deep_maze.

Comments (4)

perara avatar perara commented on September 25, 2024

from deep_maze.

fanyuzeng avatar fanyuzeng commented on September 25, 2024

I have tried pip3 install git+https://github.com/cair/gym-maze.git and sudo pip3 install git+https://github.com/cair/gym-maze.git yesterday. However, some errors remain exist:

Downloading/unpacking git+https://github.com/cair/gym-maze.git
Cloning https://github.com/cair/gym-maze.git to /tmp/pip-ekp0sldv-build
Running setup.py (path:/tmp/pip-ekp0sldv-build/setup.py) egg_info for package from git+https://github.com/cair/gym-maze.git
Requirement already satisfied (use --upgrade to upgrade): gym in ./gym (from gym-maze==2.0.0)
Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/local/lib/python3.4/dist-packages (from gym-maze==2.0.0)
Downloading/unpacking pygame (from gym-maze==2.0.0)
Downloading pygame-1.9.4.tar.gz (4.8MB): 4.8MB downloaded
Running setup.py (path:/tmp/pip_build_cr/pygame/setup.py) egg_info for package pygame

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


Hunting dependencies...
WARNING: "pkg-config freetype2" failed!
SDL     : found 1.2.15
FONT    : found
IMAGE   : found
MIXER   : not found
PNG     : found
JPEG    : found
SCRAP   : found
PORTMIDI: not found
PORTTIME: not found
FREETYPE: found 2.5.2
Missing dependencies
Complete output from command python setup.py egg_info:

WARNING, No "Setup" File Exists, Running "config.py"

Using UNIX configuration...

Hunting dependencies...

WARNING: "pkg-config freetype2" failed!

SDL : found 1.2.15

FONT : found

IMAGE : found

MIXER : not found

PNG : found

JPEG : found

SCRAP : found

PORTMIDI: not found

PORTTIME: not found

FREETYPE: found 2.5.2

Missing dependencies


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_cr/pygame
Storing debug log for failure in /home/cr/.pip/pip.log

from deep_maze.

perara avatar perara commented on September 25, 2024

The issues seems to be with pygame, which is a dependency and not the deep-maze environment itself. What you could do is to download the source files (This git) and just add the directory to your project.
I just tested it myself on arch-linux without any issues. (Python 3.7, however, gym-maze was developed on Ubuntu 17.10 )

from deep_maze.

fanyuzeng avatar fanyuzeng commented on September 25, 2024

Thank you so much. I reinstall some dependence and upgrade my ubuntu14.04 to 16.04. Finally, the issue is resolved.

from deep_maze.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.