-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello again!
I am having this error when importing SimRes
Traceback (most recent call last):
File "C:\Users\fragom\PhD_CIM\PYTHON\SimuGUI\src\gui\msv_framework_gui.py", line 11, in <module>
from gui import UI_LoadSources, UI_ConfigSolver, UI_Simulation, UI_Plot
File "C:\Users\fragom\PhD_CIM\PYTHON\SimuGUI\src\gui\__init__.py", line 3, in <module>
from mee_simulation_gui import UI_Simulation
File "C:\Users\fragom\PhD_CIM\PYTHON\SimuGUI\src\gui\mee_simulation_gui.py", line 13, in <module>
from modelicares import SimRes
File "C:\IDE\Python27\lib\site-packages\modelicares-0.12.2_126_gdab068a-py2.7.egg\modelicares\__init__.py", line 50, in <module>
from .simres import SimRes, SimResList, SimResSequence
File "C:\IDE\Python27\lib\site-packages\modelicares-0.12.2_126_gdab068a-py2.7.egg\modelicares\simres.py", line 52, in <module>
from natu import core as nc
File "C:\IDE\Python27\lib\site-packages\natu-0.12.2_126_gdab068a-py2.7.egg\natu\core.py", line 171, in <module>
from .exponents import Exponents, split_code, u, i
File "C:\IDE\Python27\lib\site-packages\natu-0.12.2_126_gdab068a-py2.7.egg\natu\exponents.py", line 177, in <module>
parser = re.compile('%s%s?%s?' % (base, exponent, remainder))
File "C:\IDE\Python27\lib\re.py", line 190, in compile
return _compile(pattern, flags)
File "C:\IDE\Python27\lib\re.py", line 245, in _compile
raise error, v # invalid expression
sre_constants.error: nothing to repeat
I am reading in "the web" that this issue might come from the re.compile() function. I guess you did not face this issue with the natu library. Any idea?
Edited: I am running the code in Eclipse Mars PyDev, under Windows 7
Cheers!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels