When I open Python Script and Python Source there is this message:
module ‘numpy’ has no attribute ‘str’
When I open Python Script and Python Source there is this message:
module ‘numpy’ has no attribute ‘str’
It could be that the numpy version of the environment needs to be downgraded. Try downgrading to numpy=1.23
or smaller.
Ok. I’m going to try this
the alias as been retired among others in numpy 1.24 it seems … a problem might arise when other packages would use these syntax and functions … it might be necessary to change settings in one’s conda setup or other environments.
https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations
@Aldemir or if you want to use conda
conda install numpy=1.23
# if you want to install to a specific Python environment named "py3_knime"
conda install -n py3_knime numpy=1.23
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.