我正在使用R 3.4.2版本。我在跟随decryptr
软件包的示例。
library(decryptr)
# Download captchas
captcha <- download_tjmg(dest = 'img')
keras_tjmg <- decryptrModels::read_model('tjmg')
最后一行代码出现了错误
Error in keras::load_model_hdf5(file_path) :
The h5py Python package is required to save and load models
我试过从终端重新安装h5py包。我还安装了keras包。我可以在python中导入h5py包,但是一些原因导致Rstudio无法识别它。