# Cannot import coerce\_frame

**URL:** <https://forum.compas-framework.org/t/cannot-import-coerce-frame/657>\
**Category:** compas\_fab\
**Created:** [December 29, 2022, 1:33am UTC](https://forum.compas-framework.org/t/cannot-import-coerce-frame/657 "2022-12-29T01:33:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DFLcode](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DFLcode](https://forum.compas-framework.org/u/DFLcode)\
**Post date:** [December 29, 2022, 1:33am UTC](https://forum.compas-framework.org/t/cannot-import-coerce-frame/657/1 "2022-12-29T01:33:57Z")

</div>

Hello,

I am new to using COMPAS fab and have followed some examples found on one of the GitHub workshop files for a pick-and-place application using a UR5 robot. Although I am receiving an error:

1. Solution exception: cannot import coerce\_frame from compas\_fab.ghpython.components

Is anyone able to please help me understand why it cannot import coerce\_frame and how I can resolve this?

 ![Image of error location](https://us1.discourse-cdn.com/flex015/uploads/compas_framework1/original/1X/daecad3ff11dd2252c552d21d6b7cef37e4119d6.jpeg)

Thank you!

---

<div class="post-metadata">

**Author:** ![gonzalocasas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/gonzalocasas/32/127_2.png) [@gonzalocasas](https://forum.compas-framework.org/u/gonzalocasas)\
**Post date:** [February 7, 2023, 1:37pm UTC](https://forum.compas-framework.org/t/cannot-import-coerce-frame/657/2 "2023-02-07T13:37:24Z")

</div>

Hi! This looks like you’re using an old workshop example file with a newer version of COMPAS packages. You either need to downgrade the installed version of COMPAS or find a more up-to-date example of the same workshop.

Which workshop is it? I could point you to a more recent version of it then.

Cheers  
Gonzalo

---

<div class="post-metadata">

**Author:** ![DFLcode](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DFLcode](https://forum.compas-framework.org/u/DFLcode)\
**Post date:** [February 8, 2023, 11:48pm UTC](https://forum.compas-framework.org/t/cannot-import-coerce-frame/657/3 "2023-02-08T23:48:48Z")

</div>

Hi - I was following the Swinburne workshop [GitHub - gramaziokohler/workshop\_swinburne\_2021](https://github.com/gramaziokohler/workshop_swinburne_2021)

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![gonzalocasas](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/gonzalocasas/32/127_2.png) [@gonzalocasas](https://forum.compas-framework.org/u/gonzalocasas)\
**Post date:** [March 8, 2023, 1:19pm UTC](https://forum.compas-framework.org/t/cannot-import-coerce-frame/657/4 "2023-03-08T13:19:13Z")

</div>

Hi Charlotte

Judging by the `environment.yml` file, this workshop was done with `compas_fab` version `0.19`. You could try to downgrade to that specific version on your environment and it will most likely work.

Let me know if you’d need details on how to do the downgrade!

Cheers  
Gonzalo
