Page 1 of 1

Polymer module

Posted: Fri Apr 03, 2020 9:37 am
by zwy
I use polymer on win10 system, but it gives the error message:"ModuleNotFoundError: No module named 'polymer.polymer_main'"

I have tried using"polymer_main.pyx" to generate“polymer_main.pyd", but failed.

Can anyone help me? I need a .pyd file.

Re: Polymer module

Posted: Fri Apr 03, 2020 10:07 am
by fsteinmetz
Hi,
As stated in the readme, a part of Polymer source code is coded in cython. You need to convert this source code to c using cython, and then compile this c code to a python module. On linux this is done using Polymer's makefile, but I have not tested it on windows - although, it should be possible.
What have you tried exactly ?
As a workaround, you can also run Polymer in a linux environment inside windows using for example Virtualbox, Docker, or Windows Subsystem for Linux.

Re: Polymer module

Posted: Thu Jul 30, 2020 10:58 am
by dingky
fsteinmetz wrote:
Fri Apr 03, 2020 10:07 am
Hi,
As stated in the readme, a part of Polymer source code is coded in cython. You need to convert this source code to c using cython, and then compile this c code to a python module. On linux this is done using Polymer's makefile, but I have not tested it on windows - although, it should be possible.
What have you tried exactly ?
As a workaround, you can also run Polymer in a linux environment inside windows using for example Virtualbox, Docker, or Windows Subsystem for Linux.
hi,
how use to Polymer's makefile on Ubuntu
kind regards

Re: Polymer module

Posted: Mon Aug 03, 2020 9:04 am
by fsteinmetz
The makefile is used by the command "make".