Closed JianyuZhao612 closed 8 months ago
np.float
is indead depreacated in favor of np.float64
.
The error is happening in the sklearn library. My guess is you have an old version of scikit learn and you need to update it, so you should be able to correct the issue with :
sudo pip install scikit-learn --upgrade
or if you're using conda:
conda update scikit-learn
np.float
is indead depreacated in favor ofnp.float64
. The error is happening in the sklearn library. My guess is you have an old version of scikit learn and you need to update it, so you should be able to correct the issue with :sudo pip install scikit-learn --upgrade
or if you're using conda:conda update scikit-learn
Thanks a lot! After upgrading the scikit-learn package it functioned smoothly!
I'm working in Conda Environment with python version 3.8.16. After installing pytorch and pix2tex, I came across an error using pix2tex in command line:
It seems that np.float is no longer in use in this numpy version(1.24.4). I tried to degrade numpy version to 1.19.5, but it's incompatible with pandas and scikit-image package:
Does anyone have the same problem with me? How to solve this problem and make the package function normally?