# Can we use compas in PyChram?

**URL:** https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822
**Category:** Uncategorized
**Created:** [April 6, 2024, 3:45am UTC](https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822 "2024-04-06T03:45:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Heisenberge](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@Heisenberge](https://forum.compas-framework.org/u/Heisenberge)
#### Post date: [April 6, 2024, 3:45am UTC](https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822/1 "2024-04-06T03:45:49Z")

</div>

Can we use compas in PyChram?

---

<div class="post-metadata">

### Author: ![jelle](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/jelle/32/423_2.png) [@jelle](https://forum.compas-framework.org/u/jelle)
#### Post date: [April 6, 2024, 11:25am UTC](https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822/2 "2024-04-06T11:25:39Z")

</div>

pycharm is a really polished IDE for python, and since `compas` is basically a python lib, sure.  
when working with `rhino` + `GH`, just load a python module, that way the ergonomics of an IDE go a long way

---

<div class="post-metadata">

### Author: ![Heisenberge](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@Heisenberge](https://forum.compas-framework.org/u/Heisenberge)
#### Post date: [April 12, 2024, 7:29pm UTC](https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822/3 "2024-04-12T19:29:29Z")

</div>

Traceback (most recent call last):  
File “D:\Program Files\JetBrains\PyCharm 2023.2\plugins\python\helpers\pydev\pydevconsole.py”, line 364, in runcode  
coro = func()  
File “”, line 1, in   
File “D:\Program Files\JetBrains\PyCharm 2023.2\plugins\python\helpers\pydev\_pydev\_bundle\pydev\_umd.py”, line 198, in runfile  
pydev\_imports.execfile(filename, global\_vars, local\_vars) # execute the script  
File “D:\Program Files\JetBrains\PyCharm 2023.2\plugins\python\helpers\pydev\_pydev\_imps\_pydev\_execfile.py”, line 18, in execfile  
exec(compile(contents+“\n”, file, ‘exec’), glob, loc)  
File “E:\PythonProject\Compas\_test\Mesh Supported by a Simple Arch.py”, line 47, in   
arch = NurbsCurve.from\_points([[5, 0, 0], [5, 5, 5], [5, 10, 0]])  
File “D:\ProgramData\Anaconda3\envs\compas-dev\lib\site-packages\compas\geometry\curves\nurbs.py”, line 251, in from\_points  
return new\_nurbscurve\_from\_points(cls, points, degree=degree)  
File “D:\ProgramData\Anaconda3\envs\compas-dev\lib\site-packages\compas\plugins.py”, line 287, in wrapper  
return func(\*args, \*\*kwargs)  
File “D:\ProgramData\Anaconda3\envs\compas-dev\lib\site-packages\compas\geometry\curves\nurbs.py”, line 34, in new\_nurbscurve\_from\_points  
raise PluginNotInstalledError  
compas.plugins.PluginNotInstalledError I have a promble

---

<div class="post-metadata">

### Author: ![Heisenberge](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@Heisenberge](https://forum.compas-framework.org/u/Heisenberge)
#### Post date: [April 12, 2024, 7:35pm UTC](https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822/4 "2024-04-12T19:35:03Z")

</div>

May I ask what is causing this

---

<div class="post-metadata">

### Author: ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)
#### Post date: [April 18, 2024, 7:20am UTC](https://forum.compas-framework.org/t/can-we-use-compas-in-pychram/822/5 "2024-04-18T07:20:32Z")

</div>

outside of Rhino, COMPAS uses OCC as the underlying kernel from Nurbs and Brep geometry, through `compas_occ`. however, `compas_occ` is not installed by default since it is not used for anything else than Nurbs and Brep. installing `compas_occ` in your conda environment should make this go away…
