# visual.Window() error

**URL:** <https://discourse.psychopy.org/t/visual-window-error/8578>\
**Category:** Coding\
**Tags:** screen\
**Created:** [July 19, 2019, 1:41pm UTC](https://discourse.psychopy.org/t/visual-window-error/8578 "2019-07-19T13:41:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![djmannion](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/djmannion/32/37535_2.png) [@djmannion](https://discourse.psychopy.org/u/djmannion)\
**Post date:** [July 19, 2019, 8:43pm UTC](https://discourse.psychopy.org/t/visual-window-error/8578/3 "2019-07-19T20:43:24Z")

</div>

Your version of `pyglet` might be too new. Depending on how you have Python set up, something like `pip install pyglet==1.3.2` would downgrade `pyglet`.

---

_[View the full topic](https://discourse.psychopy.org/t/visual-window-error/8578)._
