Git Product home page Git Product logo

Comments (5)

tkoeppe avatar tkoeppe commented on June 4, 2024

Hm, that does look a bit like a Python version confusion. Could you try the bazel run command with the additional flag --python_version=PY3?

from lab.

o00000o avatar o00000o commented on June 4, 2024

Hm, that does look a bit like a Python version confusion. Could you try the bazel run command with the additional flag --python_version=PY3?

I think it's missing something,Because I could make a mistake directing the package,import deepmind_lab2021-10-17 17-47-53屏幕截图

from lab.

tkoeppe avatar tkoeppe commented on June 4, 2024

Hm... this may be something rather silly, like bazel just using python as the interpreter, not python3. Would it at all be possible for you to change your system symlinks (e.g. for Debianesque systems there's a "python-is-python3" package that does that)?

Or, very simply, you can just run the program directly, not with bazel, after you built it:

python3 bazel-bin/python_random_agent [...]

Otherwise maybe try this idea: bazelbuild/bazel#4815 (comment)

from lab.

o00000o avatar o00000o commented on June 4, 2024

Hm... this may be something rather silly, like bazel just using python as the interpreter, not python3. Would it at all be possible for you to change your system symlinks (e.g. for Debianesque systems there's a "python-is-python3" package that does that)?

Or, very simply, you can just run the program directly, not with bazel, after you built it:

python3 bazel-bin/python_random_agent [...]

Otherwise maybe try this idea: bazelbuild/bazel#4815 (comment)

Hello, thank you very much. I have solved this problem.It's all about numpy configuration.There's a solution to both of these #142 #223

from lab.

tkoeppe avatar tkoeppe commented on June 4, 2024

Ah, very good, I'm glad!

from lab.

Related Issues (20)

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.