반응형

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__

 

 

stackoverflow.com/questions/62077194/can%C2%B4t-import-qiskit-attribute-error-in-numpy-numpy-random-has-no-attribute

 

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

반응형

+ Recent posts