install error
mrchypark opened this issue · 10 comments
autokeras is now 0.4.0 .
autokeras 0.3.7 is depends tensorflow==1.12.0 but it's removed on pip or conda.
need to upgrade.
Oh, same issues closed. sorry
I'm getting the following error when trying to install with install_autokeras()
:
Error in virtualenv_install(envname, packages, ...) : unused arguments (python_version = conda_python_version, pip = TRUE, pip_ignore_installed = FALSE
Here is my sessionInfo()
:
R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS 10.15.3
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] C/UTF-8/C/C/C/C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] autokeras_1.0.1
loaded via a namespace (and not attached):
[1] compiler_3.6.0 Matrix_1.2-17 magrittr_1.5 R6_2.4.1
[5] generics_0.0.2 whisker_0.4 base64enc_0.1-3 Rcpp_1.0.3
[9] reticulate_1.12 keras_2.2.5.0 tensorflow_2.0.0 grid_3.6.0
[13] zeallot_0.1.0 jsonlite_1.6.1 tfruns_1.4 lattice_0.20-38
Please could you try doing:
update.packages() # will update packages, particularly `reticulate`
remotes::install_github("jcrodriguez1989/autokeras")
autokeras::install_autokeras()
Thanks for your reply. I updated reticulate
and now get this error when running install_autokeras()
.
Creating virtual environment '~/.virtualenvs/r-reticulate' ...
Using python: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
sh: /Users/bernardo/.virtualenvs/r-reticulate/bin/pip: No such file or directory
Error: Error installing package(s): 'pip', 'wheel', 'setuptools'
In addition: Warning message:
In system2(pip, args) : error in running command
Any idea why? Does it has anything to do with pip
instead of pip3
or something like that?
I don't really know where your issue comes from.
Does it work if you try to install keras?
remotes::install_github("rstudio/keras")
library(keras)
install_keras()
Exactly the same error. Could it be a directory route issue?
Ok, so then, it might be an issue related to reticulate
.
I guess people in the keras
or reticulate
packages could help you better than me.
Sorry but I've never seen that issue before.
Thanks for your quick and useful answers. I'll try to fix it and will let you know what works for me.
Same issue here as well, but no solution provided
Well, this worked even though it is not an elegant solution:
I copied the pip
file from another .virtualenvs
I found and pasted it into the r-reticulate/bin
folder. I guess /usr/local/bin/pip
also works. Now at least it's running and got another different error!
New error: Error: Error installing package(s): 'tensorflow==2.1.0', 'keras', 'autokeras==1.0.1', 'h5py', 'pyyaml', 'requests', 'Pillow', 'scipy'
. I'm manually installing these with reticulate::py_install()