728x90
반응형
pip install gensim
module 'numpy.random' has no attribute 'default_rng'
해결 방밥:
1. numpy 버전 올리기
conda update numpy
numpy 버전을 확인하고 1.17이상이여 한다.
numpy 버전 확인:
import numpy as np
np.__version__
Can´t import qiskit, attribute error in numpy: " 'numpy.random' has no attribute 'default_rng'"
I´m using Python 3 and I´m working in jupyter, when I try to import qiskit the following error is showed: --------------------------------------------------------------------------- AttributeError...
stackoverflow.com
2. gensim버전 다운하기
pip install -U gensim==3.7.x
반응형
'Deep learning > 오류해결' 카테고리의 다른 글
Fetch argument None has invalid type <class 'NoneType'> (0) | 2021.06.22 |
---|---|
unknown flag: --gpus (0) | 2021.04.28 |
konlpy okt java (0) | 2021.04.01 |
assertion failed: [0] [Op:Assert] name: EagerVariableNameReuse (0) | 2021.03.26 |
20201127-assertion failed: [0] [Op:Assert] name: EagerVariableNameReuse (0) | 2020.12.02 |