lukeliuli/sumoWindowLibsumo

ImportError: Module use of python38.dll conflicts with this version of Python.

Opened this issue · 0 comments

Hello
Thank you for sharing your model.
When I run the model, it has error
Traceback (most recent call last):
File "c:/Users/PKNU/Desktop/New folder/sumoWindowLibsumo/pythonPlatoon_JustTestLibSumo/mainTOP1.py", line 20, in
import simOne
File "c:\Users\PKNU\Desktop\New folder\sumoWindowLibsumo\pythonPlatoon_JustTestLibSumo\simOne.py", line 7, in
import libsumo
File "C:\Program Files (x86)\Eclipse\Sumo\tools\libsumo_init_.py", line 29, in
from .libsumo import vehicle, simulation, person, trafficlight # noqa
File "C:\Program Files (x86)\Eclipse\Sumo\tools\libsumo\libsumo.py", line 13, in
from . import _libsumo
ImportError: Module use of python38.dll conflicts with this version of Python.

(Hung3.7) C:\Users\PKNU\Desktop\New folder>C:/Users/PKNU/anaconda3/envs/Hung2.7/python.exe "c:/Users/PKNU/Desktop/New folder/sumoWindowLibsumo/pythonPlatoon_JustTestLibSumo/mainTOP1.py"
Traceback (most recent call last):
File "c:/Users/PKNU/Desktop/New folder/sumoWindowLibsumo/pythonPlatoon_JustTestLibSumo/mainTOP1.py", line 20, in
import simOne
File "c:\Users\PKNU\Desktop\New folder\sumoWindowLibsumo\pythonPlatoon_JustTestLibSumo\simOne.py", line 7, in
import libsumo
File "C:\Program Files (x86)\Eclipse\Sumo\tools\libsumo_init_.py", line 29, in
from .libsumo import vehicle, simulation, person, trafficlight # noqa
File "C:\Program Files (x86)\Eclipse\Sumo\tools\libsumo\libsumo.py", line 13, in
from . import _libsumo
ImportError: Module use of python38.dll conflicts with this version of Python.

Could you show me with version you used to run? And how to run this model correctly