problem running in shiny app

2020-10-28T12:26:17.248120+00:00 shinyapps[3112642]: Running on host: 9ec09cdc9683
2020-10-28T12:26:17.252600+00:00 shinyapps[3112642]: Server version: 1.8.4.1-20
2020-10-28T12:26:17.252684+00:00 shinyapps[3112642]: R version: 3.6.3
2020-10-28T12:26:17.252627+00:00 shinyapps[3112642]: LANG: es_CL.UTF-8
2020-10-28T12:26:17.252685+00:00 shinyapps[3112642]: shiny version: 1.5.0
2020-10-28T12:26:17.252686+00:00 shinyapps[3112642]: httpuv version: 1.5.4
2020-10-28T12:26:17.252695+00:00 shinyapps[3112642]: rmarkdown version: (none)
2020-10-28T12:26:17.252696+00:00 shinyapps[3112642]: jsonlite version: 1.7.1
2020-10-28T12:26:17.252695+00:00 shinyapps[3112642]: knitr version: (none)
2020-10-28T12:26:17.252696+00:00 shinyapps[3112642]: RJSONIO version: (none)
2020-10-28T12:26:17.252696+00:00 shinyapps[3112642]: htmltools version: 0.5.0
2020-10-28T12:26:18.211076+00:00 shinyapps[3112642]: warning: using reticulate but python was not specified; will use python at /usr/bin/python3
2020-10-28T12:26:18.211077+00:00 shinyapps[3112642]: Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
2020-10-28T12:26:18.211221+00:00 shinyapps[3112642]: Using pandoc: /opt/connect/ext/pandoc2
2020-10-28T12:26:18.312573+00:00 shinyapps[3112642]: Using jsonlite for JSON processing
2020-10-28T12:26:18.315880+00:00 shinyapps[3112642]:
2020-10-28T12:26:18.315881+00:00 shinyapps[3112642]: Starting R with process ID: '26'
2020-10-28T12:26:18.340083+00:00 shinyapps[3112642]:
2020-10-28T12:26:18.340084+00:00 shinyapps[3112642]: Listening on http://127.0.0.1:36699
2020-10-28T12:26:23.732565+00:00 shinyapps[3112642]: Warning: Error in py_run_file_impl: ImportError: No module named 'matplotlib'
2020-10-28T12:26:23.732567+00:00 shinyapps[3112642]:
2020-10-28T12:26:23.732567+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-28T12:26:23.732568+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-28T12:26:23.732568+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-28T12:26:23.732569+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-28T12:26:23.732569+00:00 shinyapps[3112642]: level=level
2020-10-28T12:26:23.732570+00:00 shinyapps[3112642]: level=level
2020-10-28T12:26:23.732570+00:00 shinyapps[3112642]:
2020-10-28T12:26:23.740780+00:00 shinyapps[3112642]: 66:
2020-10-28T12:26:23.743088+00:00 shinyapps[3112642]: Error in py_run_file_impl(file, local, convert) :
2020-10-28T12:26:23.743088+00:00 shinyapps[3112642]: ImportError: No module named 'matplotlib'
2020-10-28T12:26:23.743089+00:00 shinyapps[3112642]:
2020-10-28T12:26:23.743089+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-28T12:26:23.743090+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-28T12:26:23.743090+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-28T12:26:23.743090+00:00 shinyapps[3112642]: level=level
2020-10-28T12:26:23.743091+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-28T12:26:23.743091+00:00 shinyapps[3112642]: level=level
2020-10-28T12:26:23.743091+00:00 shinyapps[3112642]:
2020-10-29T01:21:11.633425+00:00 shinyapps[3112642]: Running on host: af81580459b7
2020-10-29T01:21:11.639143+00:00 shinyapps[3112642]: Server version: 1.8.4.1-20
2020-10-29T01:21:11.639151+00:00 shinyapps[3112642]: LANG: es_CL.UTF-8
2020-10-29T01:21:11.639155+00:00 shinyapps[3112642]: R version: 3.6.3
2020-10-29T01:21:11.639155+00:00 shinyapps[3112642]: shiny version: 1.5.0
2020-10-29T01:21:11.639175+00:00 shinyapps[3112642]: httpuv version: 1.5.4
2020-10-29T01:21:11.639196+00:00 shinyapps[3112642]: rmarkdown version: (none)
2020-10-29T01:21:11.639203+00:00 shinyapps[3112642]: knitr version: (none)
2020-10-29T01:21:11.639222+00:00 shinyapps[3112642]: jsonlite version: 1.7.1
2020-10-29T01:21:11.639234+00:00 shinyapps[3112642]: RJSONIO version: (none)
2020-10-29T01:21:11.639252+00:00 shinyapps[3112642]: htmltools version: 0.5.0
2020-10-29T01:21:12.811509+00:00 shinyapps[3112642]: warning: using reticulate but python was not specified; will use python at /usr/bin/python3
2020-10-29T01:21:12.811511+00:00 shinyapps[3112642]: Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
2020-10-29T01:21:12.811678+00:00 shinyapps[3112642]: Using pandoc: /opt/connect/ext/pandoc2
2020-10-29T01:21:12.934226+00:00 shinyapps[3112642]: Using jsonlite for JSON processing
2020-10-29T01:21:12.937623+00:00 shinyapps[3112642]:
2020-10-29T01:21:12.965230+00:00 shinyapps[3112642]:
2020-10-29T01:21:12.937624+00:00 shinyapps[3112642]: Starting R with process ID: '26'
2020-10-29T01:21:12.965230+00:00 shinyapps[3112642]: Listening on http://127.0.0.1:38040
2020-10-29T01:21:22.736279+00:00 shinyapps[3112642]: Warning: Error in py_run_file_impl: ImportError: No module named 'matplotlib'
2020-10-29T01:21:22.736282+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:21:22.736281+00:00 shinyapps[3112642]:
2020-10-29T01:21:22.736283+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:21:22.736284+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:22.736284+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:22.736285+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:22.736284+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:22.736285+00:00 shinyapps[3112642]:
2020-10-29T01:21:22.745591+00:00 shinyapps[3112642]: 66:
2020-10-29T01:21:22.747960+00:00 shinyapps[3112642]: Error in py_run_file_impl(file, local, convert) :
2020-10-29T01:21:22.747962+00:00 shinyapps[3112642]:
2020-10-29T01:21:22.747961+00:00 shinyapps[3112642]: ImportError: No module named 'matplotlib'
2020-10-29T01:21:22.747962+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:21:22.747963+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:21:22.747963+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:22.747964+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:22.747965+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:22.747964+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:22.747965+00:00 shinyapps[3112642]:
2020-10-29T01:21:28.153905+00:00 shinyapps[3112642]: Warning: Error in py_run_file_impl: ImportError: No module named 'matplotlib'
2020-10-29T01:21:28.153907+00:00 shinyapps[3112642]:
2020-10-29T01:21:28.153909+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:21:28.153910+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:28.153911+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:28.153911+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:28.159871+00:00 shinyapps[3112642]:
2020-10-29T01:21:28.153911+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:28.153909+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:21:28.153912+00:00 shinyapps[3112642]:
2020-10-29T01:21:28.156642+00:00 shinyapps[3112642]: 66:
2020-10-29T01:21:28.159870+00:00 shinyapps[3112642]: Error in py_run_file_impl(file, local, convert) :
2020-10-29T01:21:28.159871+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:21:28.159872+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:21:28.159872+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:28.159873+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:28.159873+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:21:28.159870+00:00 shinyapps[3112642]: ImportError: No module named 'matplotlib'
2020-10-29T01:21:28.159874+00:00 shinyapps[3112642]: level=level
2020-10-29T01:21:28.159874+00:00 shinyapps[3112642]:
2020-10-29T01:24:05.498335+00:00 shinyapps[3112642]: Running on host: eb59985210c8
2020-10-29T01:24:05.503834+00:00 shinyapps[3112642]: Server version: 1.8.4.1-20
2020-10-29T01:24:05.503846+00:00 shinyapps[3112642]: LANG: es_CL.UTF-8
2020-10-29T01:24:05.503854+00:00 shinyapps[3112642]: R version: 3.6.3
2020-10-29T01:24:05.503854+00:00 shinyapps[3112642]: shiny version: 1.5.0
2020-10-29T01:24:05.503864+00:00 shinyapps[3112642]: httpuv version: 1.5.4
2020-10-29T01:24:05.503865+00:00 shinyapps[3112642]: rmarkdown version: (none)
2020-10-29T01:24:05.503899+00:00 shinyapps[3112642]: knitr version: (none)
2020-10-29T01:24:05.503907+00:00 shinyapps[3112642]: jsonlite version: 1.7.1
2020-10-29T01:24:05.503907+00:00 shinyapps[3112642]: RJSONIO version: (none)
2020-10-29T01:24:05.503912+00:00 shinyapps[3112642]: htmltools version: 0.5.0
2020-10-29T01:24:06.608577+00:00 shinyapps[3112642]: warning: using reticulate but python was not specified; will use python at /usr/bin/python3
2020-10-29T01:24:06.608588+00:00 shinyapps[3112642]: Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
2020-10-29T01:24:06.608709+00:00 shinyapps[3112642]: Using pandoc: /opt/connect/ext/pandoc2
2020-10-29T01:24:06.729449+00:00 shinyapps[3112642]: Using jsonlite for JSON processing
2020-10-29T01:24:06.732828+00:00 shinyapps[3112642]:
2020-10-29T01:24:06.732829+00:00 shinyapps[3112642]: Starting R with process ID: '26'
2020-10-29T01:24:06.760933+00:00 shinyapps[3112642]:
2020-10-29T01:24:06.760934+00:00 shinyapps[3112642]: Listening on http://127.0.0.1:44702
2020-10-29T01:24:18.304984+00:00 shinyapps[3112642]: Warning: Error in py_run_file_impl: ImportError: No module named 'matplotlib'
2020-10-29T01:24:18.304986+00:00 shinyapps[3112642]:
2020-10-29T01:24:18.304987+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:24:18.304987+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:24:18.304988+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:18.304988+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:18.304989+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:18.304989+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:18.304989+00:00 shinyapps[3112642]:
2020-10-29T01:24:18.314198+00:00 shinyapps[3112642]: 66:
2020-10-29T01:24:18.316523+00:00 shinyapps[3112642]: Error in py_run_file_impl(file, local, convert) :
2020-10-29T01:24:18.316523+00:00 shinyapps[3112642]: ImportError: No module named 'matplotlib'
2020-10-29T01:24:18.316525+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:24:18.316524+00:00 shinyapps[3112642]:
2020-10-29T01:24:18.316525+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:24:18.316526+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:18.316526+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:18.316527+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:18.316527+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:18.316527+00:00 shinyapps[3112642]:
2020-10-29T01:24:24.376504+00:00 shinyapps[3112642]: Warning: Error in py_run_file_impl: ImportError: No module named 'matplotlib'
2020-10-29T01:24:24.376507+00:00 shinyapps[3112642]:
2020-10-29T01:24:24.376508+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:24:24.376509+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:24:24.376510+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:24.376511+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:24.376511+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:24.376511+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:24.376512+00:00 shinyapps[3112642]:
2020-10-29T01:24:24.378339+00:00 shinyapps[3112642]: 66:
2020-10-29T01:24:24.380620+00:00 shinyapps[3112642]: Error in py_run_file_impl(file, local, convert) :
2020-10-29T01:24:24.380621+00:00 shinyapps[3112642]: ImportError: No module named 'matplotlib'
2020-10-29T01:24:24.380622+00:00 shinyapps[3112642]:
2020-10-29T01:24:24.380623+00:00 shinyapps[3112642]: Detailed traceback:
2020-10-29T01:24:24.380623+00:00 shinyapps[3112642]: File "", line 1, in
2020-10-29T01:24:24.380624+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:24.380624+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:24.380625+00:00 shinyapps[3112642]: File "/opt/R/3.6.3/lib/R/library/reticulate/python/rpytools/loader.py", line 24, in _import_hook
2020-10-29T01:24:24.380625+00:00 shinyapps[3112642]: level=level
2020-10-29T01:24:24.380626+00:00 shinyapps[3112642]:
2020-10-29T01:28:49.331105+00:00 shinyapps[3112642]: Running on host: 8983854d1a39
2020-10-29T01:28:49.336325+00:00 shinyapps[3112642]: Server version: 1.8.4.1-20
2020-10-29T01:28:49.336337+00:00 shinyapps[3112642]: LANG: es_CL.UTF-8
2020-10-29T01:28:49.336338+00:00 shinyapps[3112642]: R version: 3.6.3
2020-10-29T01:28:49.336338+00:00 shinyapps[3112642]: shiny version: 1.5.0
2020-10-29T01:28:49.336339+00:00 shinyapps[3112642]: rmarkdown version: (none)
2020-10-29T01:28:49.336339+00:00 shinyapps[3112642]: httpuv version: 1.5.4
2020-10-29T01:28:49.336352+00:00 shinyapps[3112642]: knitr version: (none)
2020-10-29T01:28:49.336360+00:00 shinyapps[3112642]: jsonlite version: 1.7.1
2020-10-29T01:28:49.336369+00:00 shinyapps[3112642]: RJSONIO version: (none)
2020-10-29T01:28:49.336375+00:00 shinyapps[3112642]: htmltools version: 0.5.0
2020-10-29T01:28:50.283504+00:00 shinyapps[3112642]: warning: using reticulate but python was not specified; will use python at /usr/bin/python3
2020-10-29T01:28:50.283511+00:00 shinyapps[3112642]: Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
2020-10-29T01:28:50.283597+00:00 shinyapps[3112642]: Using pandoc: /opt/connect/ext/pandoc2
2020-10-29T01:28:50.393875+00:00 shinyapps[3112642]: Using jsonlite for JSON processing
2020-10-29T01:28:50.397114+00:00 shinyapps[3112642]:
2020-10-29T01:28:50.397115+00:00 shinyapps[3112642]: Starting R with process ID: '29'
2020-10-29T01:28:50.422405+00:00 shinyapps[3112642]: Listening on http://127.0.0.1:45476
2020-10-29T01:28:50.422404+00:00 shinyapps[3112642]:
2020-10-29T01:29:01.508581+00:00 shinyapps[3112642]: Warning: Error in : could not find a Python environment for /usr/bin/python3
2020-10-29T01:29:01.517456+00:00 shinyapps[3112642]: 65: stop
2020-10-29T01:29:01.517457+00:00 shinyapps[3112642]: 64: stopf
2020-10-29T01:29:01.517459+00:00 shinyapps[3112642]: 63: python_info
2020-10-29T01:29:01.517517+00:00 shinyapps[3112642]: Error : could not find a Python environment for /usr/bin/python3
2020-10-29T01:29:01.517459+00:00 shinyapps[3112642]: 62: py_install
2020-10-29T01:39:55.904316+00:00 shinyapps[3112642]: Running on host: 0ce13711b5f6
2020-10-29T01:39:55.909854+00:00 shinyapps[3112642]: LANG: es_CL.UTF-8
2020-10-29T01:39:55.909844+00:00 shinyapps[3112642]: Server version: 1.8.4.1-20
2020-10-29T01:39:55.909862+00:00 shinyapps[3112642]: R version: 3.6.3
2020-10-29T01:39:55.909880+00:00 shinyapps[3112642]: httpuv version: 1.5.4
2020-10-29T01:39:55.909871+00:00 shinyapps[3112642]: shiny version: 1.5.0
2020-10-29T01:39:55.909886+00:00 shinyapps[3112642]: rmarkdown version: (none)
2020-10-29T01:39:55.909896+00:00 shinyapps[3112642]: knitr version: (none)
2020-10-29T01:39:55.909905+00:00 shinyapps[3112642]: jsonlite version: 1.7.1
2020-10-29T01:39:55.909956+00:00 shinyapps[3112642]: RJSONIO version: (none)
2020-10-29T01:39:55.909957+00:00 shinyapps[3112642]: htmltools version: 0.5.0
2020-10-29T01:39:57.130854+00:00 shinyapps[3112642]: warning: using reticulate but python was not specified; will use python at /usr/bin/python3
2020-10-29T01:39:57.276353+00:00 shinyapps[3112642]:
2020-10-29T01:39:57.130855+00:00 shinyapps[3112642]: Did you forget to set the RETICULATE_PYTHON environment variable in your .Rprofile before publishing?
2020-10-29T01:39:57.249908+00:00 shinyapps[3112642]:
2020-10-29T01:39:57.246560+00:00 shinyapps[3112642]: Using jsonlite for JSON processing
2020-10-29T01:39:57.130961+00:00 shinyapps[3112642]: Using pandoc: /opt/connect/ext/pandoc2
2020-10-29T01:39:57.249909+00:00 shinyapps[3112642]: Starting R with process ID: '26'
2020-10-29T01:39:57.276354+00:00 shinyapps[3112642]: Listening on http://127.0.0.1:38463
2020-10-29T01:40:07.798796+00:00 shinyapps[3112642]: Warning: Error in : could not find a Python environment for /usr/bin/python3
2020-10-29T01:40:07.808411+00:00 shinyapps[3112642]: 65: stop
2020-10-29T01:40:07.808412+00:00 shinyapps[3112642]: 64: stopf
2020-10-29T01:40:07.808413+00:00 shinyapps[3112642]: 63: python_info
2020-10-29T01:40:07.808413+00:00 shinyapps[3112642]: 62: py_install
2020-10-29T01:40:07.808476+00:00 shinyapps[3112642]: Error : could not find a Python environment for /usr/bin/python3

These seem to be telling bits. I'm pretty sure this error occurs when one hasn't set-up python. For a handy guide on using python with reticulate and shiny, check out this R Views article.

And there's a discussion specifically about setting RETICULATE_PYTHON in a .Rprofile here,

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

it runs on my pc but not on the web

------------------------- Settings (Do not edit) --------------------------

if (Sys.info()[['user']] == 'shiny'){

Running on shinyapps.io

Sys.setenv(PYTHON_PATH = 'python3')
Sys.setenv(VIRTUALENV_NAME = VIRTUALENV_NAME) # Installs into default shiny virtualenvs dir
Sys.setenv(RETICULATE_PYTHON = paste0('/home/shiny/.virtualenvs/', VIRTUALENV_NAME, '/bin/python'))
Sys.setenv(RETICULATE_PYTHON = '/home/shiny/.virtualenvs/python_env/bin/python')

} else if (Sys.info()[['user']] == 'rstudio-connect'){

Running on remote server

Sys.setenv(PYTHON_PATH = '/opt/python/3.7.6/bin/python')
Sys.setenv(VIRTUALENV_NAME = paste0(VIRTUALENV_NAME, '/')) # include '/' => installs into rstudio-connect/apps/
Sys.setenv(RETICULATE_PYTHON = paste0(VIRTUALENV_NAME, '/bin/python'))

} else {

Running locally

options(shiny.port = 7450)
Sys.setenv(PYTHON_PATH = 'python3')
Sys.setenv(VIRTUALENV_NAME = VIRTUALENV_NAME) # exclude '/' => installs into ~/.virtualenvs/

RETICULATE_PYTHON is not required locally, RStudio infers it based on the ~/.virtualenvs path

}

#Sys.setenv(RETICULATE_PYTHON = "/home/solisius/enviroment/envr/bin/python")