-1

I want to run the bellow Python script in GitHub codespace

%matplotlib notebook
from PySide2.QtWidgets import *
from datetime import date
print("Running date: ", date.today().strftime("%B %d, %Y"))
import pyleecan
print("Pyleecan version: " + pyleecan.__version__)
import SciDataTool
print("SciDataTool version: " + SciDataTool.__version__)

, and I got this error

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[2], line 2
      1 get_ipython().run_line_magic('matplotlib', 'notebook')
----> 2 from PySide2.QtWidgets import *
      3 from datetime import date
      4 print("Running date: ", date.today().strftime("%B %d, %Y"))

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

How can I install pyside2 in the Github codespace correctly?

Hossein
  • 24
  • 5

0 Answers0