The story continues: I now have Gams on my Ubuntu 18 notebook installed and run in the same kind of problems. I use Anaconda and the following Gams-code:
Code: Select all
embeddedCode Python:
import matplotlib
import matplotlib.pyplot as plt
matplotlib.use('WXagg')
plt.plot([1,2,3,4])
plt.show()
endEmbeddedCode
Code: Select all
--- Initialize embedded library libembpycclib64.so
--- Execute embedded library libembpycclib64.so
--- Exception from Python: No module named 'wx'
*** Error at line 1: Error executing "embeddedCode" section: Check log above
--- python.gms(1) 3 Mb 1 Error
*** Status: Execution error(s)
--- Job python.gms Stop 03/04/19 17:20:58 elapsed 0:00:00.857
Code: Select all
(base) renger@ubu:~$ which python
/home/renger/anaconda3/bin/python
I ran python3 setup.py install (and all was installed in the anaconda directory: home/renger/anaconda3/lib/python3.6/site-packages/
Any idea how to resolve this?
Cheers
Renger
PS. I am already looking out for the experience of installing this on the ETH mainframe...