Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Running Robyn #844

Closed
DongHarry-Kang opened this issue Oct 21, 2023 · 2 comments
Closed

Issues with Running Robyn #844

DongHarry-Kang opened this issue Oct 21, 2023 · 2 comments

Comments

@DongHarry-Kang
Copy link

Hi Gurus -

I am a rookie in Robyn and R, and here are my two questions regarding new issues with Robyn. Could somebody such as @gufengzhou help me here? thank you very much! Please forgive my unprofessional words below! I actually think the below questions are the same problem so really appreciate your help

Problem 1:
System cannot recognize Python path in R: When I try installing nevergrad, after I used the code below
Sys.setenv(RETICULATE_PYTHON = "~/.virtualenvs/r-reticulate/bin/python")

I obtained the error message:
py_discover_config(required_module, use_environment) でエラー: (In Japanese, エラー means error)
Python specified in RETICULATE_PYTHON (~/.virtualenvs/r-reticulate/bin/python) does not exist
image

Problem 2:
When I run Robyn, I got the error that Nevergrad is never installed.. with the below error message (In Japanese, エラー means error)

image

@DongHarry-Kang
Copy link
Author

Hi Guru -

I am happy to report that I was able to resolve this issue. Somehow there is an issue on how folder was set up. I was able to resolve this issue by manually create a folder path for Python like below. I created bin/python folder under r-reticulate

image

As the result, when I run py_config(), I got the below result.

image

And I can run Robyn again now

@gufengzhou
Copy link
Contributor

Great to know it works. Reticulate has issue of recognising python paths. our hands are tied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants