weiya711 / sam

MIT License
15 stars 4 forks source link

fix CI #122

Closed bobcheng15 closed 5 months ago

bobcheng15 commented 7 months ago

Issue:

  1. After adding conda to the system path, the python version got pointed to that of the one in conda instead of the intended 3.8.12
  2. onda's python version got auto updated to 3.12, which removes the distutils package. installation of pip packages in the CI flow such as numpy would fail, showing error ModuleNotFoundError: No module named 'distutils'

solution:

  1. remove the step that conda to the system path
  2. switch to using pip to install the flake8 linting tool