Import module in GhPython: error

Hello
I install a module for Python 2.7 called pyembroidery (pip install pyembroidery)
the folder C:\Python27\Lib\site-packages already added to Module search paths in Rhino,
when i try to load the plugin with Ghpython i get this message

Runtime error (MissingMemberException): 'module' object has no attribute 'A100Reader'
Traceback:
  line 3, in <module>, "C:\Python27\Lib\site-packages\pyembroidery\PyEmbroidery.py"
  line 4, in <module>, "C:\Python27\Lib\site-packages\pyembroidery\__init__.py"
  line 1, in script

The plugin work fine in PyCharm, any idea how to solve the problem?

Hi @anon39580149,

In general, Rhino’s Python engine cannot use CPython modules. Rhino’s Python interpreter is based on IronPython (.NET) and CPython is not.

– Dale

Thank you
so no way, i use GHPython remote

I find this, and the same module available for Ironpython

2 Likes