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.
			
			
									
									
						Polymer module
- fsteinmetz
 - Site Admin
 - Posts: 319
 - Joined: Fri Sep 07, 2018 1:34 pm
 - company / institution: Hygeos
 - Location: Lille, France
 - Contact:
 
Re: Polymer module
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.
			
			
									
									
						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.
- 
				dingky
 - Posts: 37
 - Joined: Tue Jun 30, 2020 3:56 am
 - company / institution: China University of Geosciences
 - Location: China
 
Re: Polymer module
hi,fsteinmetz wrote: ↑Fri Apr 03, 2020 10:07 amHi,
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.
how use to Polymer's makefile on Ubuntu
kind regards
- fsteinmetz
 - Site Admin
 - Posts: 319
 - Joined: Fri Sep 07, 2018 1:34 pm
 - company / institution: Hygeos
 - Location: Lille, France
 - Contact:
 
Re: Polymer module
The makefile is used by the command "make".
			
			
									
									
						