ImportError: cannot import name 'Level1' from 'polymer.main'

Post Reply
rafael.simao
Posts: 2
Joined: Fri Sep 02, 2022 8:21 pm
company / institution: Federal University of Rio Grande - FURG
Location: Rio Grande, RS - Brazil

ImportError: cannot import name 'Level1' from 'polymer.main'

Post by rafael.simao »

Hello, I recently installed v4.16.1 and was trying to run polymer_cli.py but got an error about importing Level1 and Level2 from polymer.main
This can be solved this by adding two lines in the polymer.main script:

from polymer.level1 import Level1
from polymer.level2 import Level2
User avatar
fsteinmetz
Site Admin
Posts: 306
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: ImportError: cannot import name 'Level1' from 'polymer.main'

Post by fsteinmetz »

Thanks Rafael ! This will be included in next release.
Post Reply