I get error -
Traceback (most recent call last):
File "main.py", line 32, in
main()
File "main.py", line 16, in main
main3d(namelist)
File "main.py", line 22, in main3d
import Simulation3d
File "Simulation3d.pyx", line 1, in init Simulation3d
import time
File "Forcing.pyx", line 27, in init Forcing
import cPickle
ModuleNotFoundError: No module named 'cPickle'
I also tried changing the line 27 in Forcing.pyx to import _pickle as cPickle , but it still fails with same error.
I am on CentOs7.6 / using virtual env / Python3.6
I did some search and I am aware that cPickle is not in Python3.x it is only for Python2.x
So does that mean, pycles can only be used via Python2.x and not with python3.x versions.
When I try to run python main.py CASE_NAME.in
I get error - Traceback (most recent call last): File "main.py", line 32, in
main()
File "main.py", line 16, in main
main3d(namelist)
File "main.py", line 22, in main3d
import Simulation3d
File "Simulation3d.pyx", line 1, in init Simulation3d
import time
File "Forcing.pyx", line 27, in init Forcing
import cPickle
ModuleNotFoundError: No module named 'cPickle'
I also tried changing the line 27 in Forcing.pyx to import _pickle as cPickle , but it still fails with same error.
I am on CentOs7.6 / using virtual env / Python3.6
I did some search and I am aware that cPickle is not in Python3.x it is only for Python2.x
So does that mean, pycles can only be used via Python2.x and not with python3.x versions.