• Register
0 votes

Problem :

Help needed with this error

runtimewarning: numpy.dtype size changed, may indicate binary incompatibility. expected 96, got 88

6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I think it is the issue of new numpy version (1.15.0)

So you can downgrade numpy using bellow commands and this problem will be fixed:

sudo pip uninstall numpy
sudo pip install numpy==1.14.5

Finally numpy 1.15.1 version is released so the warning issues are fixed.

Please follow bellow command to install numpy 1.15.1 version

sudo pip install numpy==1.15.1

After following above steps my issue got ressolved.

Further Readings :

9 7 4
38,600 points

Related questions

0 votes
1 answer 304 views
Problem : I have below error for trying to load the saved SVM model. I have tried uninstalling the sklearn, NumPy and SciPy, and reinstalling a latest versions all-together again (using pip). I am still facing below error. “Runtimewarning : Numpy.dtype size changed, may indicate binary incompatibility” How to get rid of the above mentioned issue?
asked Jan 21, 2020 jwilliam 3.9k points
0 votes
1 answer 29 views
Problem: runtimewarning: numpy.dtype Size changing may indicate binary incompatibility. expected 96, got 88
asked Feb 23 Muneeb Saadii 130k points
1 vote
1 answer 5 views
Problem: I need solution of this error; Valueerror: numpy.dtype has the wrong size, try recompiling.
asked Apr 26 PkGuy 23.5k points
0 votes
1 answer 93 views
Problem : Any clue: Pandas data cast to numpy dtype of object. check input data with np.asarray(data)..
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 6.1K views
Problem : I have the pandas data frame with some of the categorical predictors or variables as 0 & 1, and some of the numeric variables. When I fit that to a stasmodel like below : est = sm.OLS(y, X).fit() It throws the below error : Pandas data ... hundreds of variables. For that I have concatenated the 3 pandas DataFrames to come up with the final DataFrame to be used in the model building.
asked Dec 18, 2019 alecxe 7.5k points
0 votes
1 answer 4 views
Problem: This produces an error. 1. np.dot(vector1*matrix1) 2. np.array([np.dot(row,vector1) for row in matrix1]) 3. np.matmul(vector1,matrix1) 4. np.dot(matrix1,vector1) 5. np.sum(matrix1*vector1,axis=1)
asked Apr 26 munim01 21k points
0 votes
1 answer 42 views
Problem input contains nan, infinity or a value too large for dtype('float64').
asked Feb 11 charles mathews 5.5k points
0 votes
1 answer 3 views
Problem: I have been using the scikit-learn library. I'm trying to use the Gaussian Naive Bayes Module under the scikit-learn library but I'm running into the following error. TypeError: cannot perform reduce with flexible type. What should I do?
asked Apr 22 anika11 32k points
1 vote
1 answer 15 views
Problem: Any solution to this problem please? Runtimewarning: invalid value encountered in true_divide.
asked Apr 27 PkGuy 23.5k points
1 vote
1 answer 12 views
Problem : Both center_dists[j] and center_dists[i] are numpy arrays and I Generate with this line : center_dists[j] <= center_dists[i] I get this Error : RuntimeWarning: invalid value encountered in less_equal Any suggestion ?
asked Apr 17 Sabbir Hossain 14.6k points