Spinnaker SDK 설치

dada·2022년 1월 19일
0

Ubuntu 18.04, Python 3.6 기준

1. 다음의 명령어를 통해서 Python 버전 확인하기

sudo apt-get install python-pip python3-pip

2. PySpin에 대한 라이브러리 종속성 설치

   - Install for Python 3.6, user only:
   python3.6 -m pip install --upgrade --user numpy matplotlib

   - Install for Python 3.6, site wide:
   sudo python3.6 -m pip install --upgrade numpy matplotlib

3. 해당 버전의 Spinnaker SDK Debian 패키지와 해당 필수 구성 요소가 사전에 설치되어 있는지 확인

휠 버전이 1.21.0.61인 경우 1.21.0.61 패키지를 설치하기

4. 특정 Python 버전에 맞는 휠을 설치

   - Python 3.6, site wide:
   sudo python3.6 -m pip install spinnaker_python-2.x.x.x-cp36-cp36m-linux_x86_64.whl

   - Python 3.6, user only:
   python3.6 -m pip install --user spinnaker_python-2.x.x.x-cp36-cp36m-linux_x86_64.whl
profile
AI, Python 등 공부용 블로그

0개의 댓글