factorio-learning-environment icon indicating copy to clipboard operation
factorio-learning-environment copied to clipboard

FLE agents module ImportError

Open kantneel opened this issue 7 months ago • 0 comments

If you pip installed FLE and then the following works/doesn't work

from factorio_learning_environment.env.src.models.conversation import Conversation  # works
print('imported Conversation')
from factorio_learning_environment.agents import Response  # doesn't work
from agents import Response  # doesn't work
print('imported Response')

Errors look like:

ImportError: cannot import name 'Response' from 'factorio_learning_environment.agents' (/Users/neel/Desktop/other_projects/pcf/venv-pixelcortex/lib/python3.12/site-packages/factorio_learning_environment/agents/__init__.py)

so something appears to be broken with the agents module

kantneel avatar May 21 '25 17:05 kantneel