• 카테고리

    질문 & 답변
  • 세부 분야

    자연어 처리

  • 해결 여부

    미해결

안녕하세요. 강의 잘듣고있습니다!

22.02.06 21:38 작성 조회수 139

0

transformer를_이용한_포루투칼어_영어_기계번역.ipynb 에서 처음 라이브러리 다운받을때
 
pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
 
해당 에러가 발생하고
 
Tensorflow Dataset을 가져올때
Failed to import TensorFlow. Please note that TensorFlow is not installed by default when you install TensorFlow Datasets. This is so that users can decide whether to install the GPU-enabled TensorFlow package. To use TensorFlow Datasets, please install the most recent version of TensorFlow, by following instructions at https://tensorflow.org/install.
해당에러가 발생하는데 해결 방법을 알수있을까요?

답변 1

답변을 작성해보세요.

0

안녕하세요~. 반갑습니다.

텐서플로 버전이 업그레이드 되면서 tensorflow-text와 버전 충돌이 발생한 것 같습니다ㅠ.

 

!pip install -q -U tensorflow-text
 
위 부분을 아래 처럼 변경해서 실행 부탁드립니다.(링크로 제공드린 colab 파일도 방금 아래처럼 변경해놓았습니다.)
 
 
!pip install -U tensorflow-text==2.7.3
 
 
그럼 좋은 하루 되세요~.
 
감사합니다.