No module named 'polymer.polymer_main'

Post Reply
Marea22
Posts: 1
Joined: Fri Feb 09, 2024 11:51 am
company / institution: University of Stirling
Location: Stirling

No module named 'polymer.polymer_main'

Post by Marea22 »

Hello,

I have installed polymer in anaconda. When trying to run a basic command line interface for Polymer, I get this error:

Code: Select all

import argparse
from polymer.main import run_atm_corr
from polymer.level1 import Level1
from polymer.level2 import Level2
ERROR:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\xaa1\polymer\polymer\main.py", line 16, in <module>
from polymer.polymer_main import PolymerMinimizer
ModuleNotFoundError: No module named 'polymer.polymer_main

Many thanks!
sakvaka_env
Posts: 25
Joined: Mon Mar 07, 2022 9:54 am
company / institution: Finnish Environment Institute
Location: Helsinki, Finland

Re: No module named 'polymer.polymer_main'

Post by sakvaka_env »

  1. It seems that you haven't compiled Polymer like the installation manual (README.md) tells you to.
  2. Judging by the installation path, you're working on a Windows platform, but note that Polymer isn't compatible with Windows.
Post Reply