스마트 해상물류 영상처리 팀 aws 설정 하기

이상원·2022년 8월 9일
0

스마트 해상 물류

목록 보기
3/4

아나콘다 설치

아나콘다 설치는 이 블로그 참고함

ssh 접속은 bitvise를 통해서 접근하고자 함

설치는 ssh -client를 통해서 다운로드 하고 exe 파일 설치하면 됨

실행법

호스트와 username을 쓰고 client key manager를 통해 pem 키를 등록하면 된다.

오류 해결

# 오류 코드
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

solution

pip install --upgrade protobuf==3.20.0
# 오류 코드
NotImplementedError: Cannot convert a symbolic Tensor

발생이유:

numpy 버전이 높아서 발생함

solution

먼저 numpy 제거하고

pip uninstall numpy

재설치 한다 <- 필자는 콘다를 사용

conda install numpy=1.19.5 -c conda-forge
profile
개발하는 코린이

0개의 댓글