aaliakmal

Results 8 comments of aaliakmal

So here's what sessionInfo showed me. R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134) Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3]...

Here are my results for reticulate ::py_config() python: C:\Users\alexanderlee\AppData\Local\Continuum\miniconda3\envs\r-reticulate\python.exe libpython: C:/Users/alexanderlee/AppData/Local/Continuum/miniconda3/envs/r-reticulate/python37.dll pythonhome: C:\Users\ALEXAN~1\AppData\Local\CONTIN~1\MINICO~1\envs\R-RETI~1 version: 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] Architecture: 64bit numpy: C:\Users\alexanderlee\AppData\Roaming\Python\Python37\site-packages\numpy numpy_version:...

So here's what happens when I call the python code you sent. (base) C:\Users\alexanderlee\AppData\Local\Continuum\miniconda3\envs\r-reticulate> pip install tensorflow Collecting tensorflow Downloading https://files.pythonhosted.org/packages/54/5f/e1b2d83b808f978f51b7ce109315154da3a3d4151aa59686002681f2e109/tensorflow-2.0.0-cp37-cp37m-win_amd64.whl (48.1MB) 100% |████████████████████████████████| 48.1MB 308kB/s Collecting astor>=0.6.0 (from tensorflow)...

So , how should I fix EnviromentalError. And should I install setuptools using pip

Ok Here is Tensor flow configuration on R after installing Tensorflow 2.0 via anaconda > tensorflow::tf_config() TensorFlow v1.13.1 () Python v3.7 (C:\Users\alexanderlee\AppData\Local\Continuum\miniconda3\envs\r-reticulate\python.exe) Here is my anaconda code after running pip...

Tensorflow v.2.0 installed successfully. However installing cellassign still failed. tensorflow::use_condaenv('r-reticulate') > tensorflow::tf_config() TensorFlow v2.0.0 () Python v3.7 (C:\Users\alexanderlee\AppData\Local\Continuum\miniconda3\envs\r-reticulate\python.exe) > devtools::install_github("Irrationone/cellassign") Downloading GitHub repo Irrationone/cellassign@master √ checking for file 'C:\Users\alexanderlee\AppData\Local\Temp\RtmpEfIPz6\remotes3da431e5ac3\Irrationone-cellassign-bded394/DESCRIPTION' (391ms)...

On anaconda: (base) C:\Users\alexanderlee\AppData\Local\Continuum\miniconda3\envs\r-reticulate>tf tf$disable_v2_behavior() 'tf$disable_v2_behavior' is not recognized as an internal or external command, operable program or batch file. (base) C:\Users\alexanderlee\AppData\Local\Continuum\miniconda3\envs\r-reticulate>sess ones sess$run(ones) On R-program e/cellassign_0.99.12.tar.gz’ had non-zero exit...

So here's what I got when running tensorflow and command you gave me. > library(tensorflow) > tf tf$disable_v2_behavior() WARNING: Logging before flag parsing goes to stderr. W1008 16:47:53.052414 21224 deprecation.py:323]...