question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'PPO' object has no attribute 'set_logger'

See original GitHub issue

Bug description

Description of what the bug is.

Steps to reproduce

Code or a description of how to reproduce the bug.

Environment

  • Operating system and version:
  • Python version:
  • Output of pip freeze --all:

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AdamGleavecommented, Sep 15, 2022

I’m using the stable-baselines3==0.8.0

The latest version of SB3 is 1.6.0, can you replicate the problem with that or another recent version?

1reaction
AdamGleavecommented, Sep 5, 2022

Can you fill out the template, please? Tests are passing on CI, including with PPO, so there’s not something obviously broken here. We can’t help you if we don’t know the circumstances under which you’re encountering the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'module' object has no attribute 'getlogger'
Using the correct, case sensative function call successfully initialized the logger object. Share.
Read more >
AttributeError: 'module' object has no attribute 'getLogger' #88
It seems that in net.py, the script import logging under lib/utils/logging.py , but should import logging from python site-packages. any idea to ...
Read more >
AttributeError: 'module' object has no attribute 'getLogger'
Short answer: Change the name of src/pib/logging.py to something else. Long answer: When Python hits the line "import logging", it first looks in...
Read more >
AttributeError: 'module' object has no attribute 'getLogger'
Hi, Can anyone help me to know why this kind of error is coming? Is it because I need to update some Psychopy...
Read more >
AttributeError: 'module' object has no attribute 'getLogger'
logging: AttributeError: 'module' object has no attribute 'getLogger'. Philip Semanchuk philip at semanchuk.com
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found