openai / neural-mmo

Code for the paper "Neural MMO: A Massively Multiagent Game Environment for Training and Evaluating Intelligent Agents"
https://openai.com/blog/neural-mmo/
MIT License
1.57k stars 262 forks source link

No module named 'forge.embyr' #19

Closed tempest2023 closed 5 years ago

tempest2023 commented 5 years ago

Hi, it is a really awsome project. I want to setup it on my server. And following the instructions I have installed all dependencies. But when I run

python3 Forge.py --render

It occurs errors.

Traceback (most recent call last):
  File "Forge.py", line 72, in <module>
    example.env.render()
  File "/root/mmo/neural-mmo/forge/trinity/smith.py", line 57, in render
    from forge.embyr.twistedserver import Application
ModuleNotFoundError: No module named 'forge.embyr'

shuruiz commented 5 years ago

There should be something wrong when you were installing neural-mmo. You missed this file: https://github.com/openai/neural-mmo/blob/master/forge/embyr

you can check your neural-mmo repo to see if it exists. If not, I will recommend you either copy the script to the repo or re-setup.

jsuarez5341 commented 5 years ago

One of two things probably happened. Reopen if it end up being something else.

  1. You didn't install the client separately. There is another repo you have to clone (neural-mmo-client).
  2. A symlink broke on your machine. forge/embyr is a symlink to the client repo. This shouldn't happen, but if this is the case, just fix the symlink locally.
heyCarlH commented 4 years ago

I am having the same issue. I have completely reinstall both the mmo and the client. Are there any other solutions?

tempest2023 commented 4 years ago

I am having the same issue. I have completely reinstall both the mmo and the client. Are there any other solutions?

Yes, I solved this problem. I make a symlink from 'neural-mmo-client' to 'neural-mmo/forge/embyr'.

heyCarlH commented 4 years ago

Thanks.