-
Notifications
You must be signed in to change notification settings - Fork 351
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
Codeless Robyn Error in Model Tuning Step #210
Comments
Hi, |
Hi Kyle, Apologies for my delayed response. Thanks for the feedback. I ran the first code in R Studio and got the following errors:
I then tried running py_config(), which also didn't work and produced the error below: I have Python 3.10 64 bit installed on my machine. Let me know of any other advice, thanks! |
Hey there, no worries - could you make sure you have the reticulate library installed and loaded first and then try that again? If you run |
Thanks for the quick reply. I installed reticulate and ran library(reticulate) successfully. I then tried the first code you provided: conda_create("r-reticulate", python_version=3.9) The first line runs properly, but the second is where errors start to pop up:
This is where I'm getting confused - to the best of my knowledge, I have nevergrad installed. See screenshot of my Anaconda environments: |
It looks like you have an environment called nevergrad rather than a package within the r-reticulate environment. This Stackoverflow answer will likely be able to help you, which operating system are you using? |
Thanks for providing the Stack Overflow link. I spent some time with it this morning, but am unsure how to interpret it within the scope of the error I'm getting. Operating system is Windows 10. I was able to get py_config to run, here are the results, not sure if it's helpful: `py_config() python versions found:
|
Okay that's good progress, could you try running these lines again and let me know if an error occurs? |
Line 1 runs as expected, line 2 produces the error below:
Line 3 doesnt run at all, since R Studio seems 'stuck' at line 2. |
windows needs openssl if not already installed. In our readme right at the beginning under "getting started", there're two links to install/update guide of openssl for Windows. Can you try it out? |
Thanks for that tip, I had not installed openssl yet. I followed in the instructions in THIS link and everything went smoothly. Openssl has been added to the path of my account, but I'm still getting the same installation error for nevergrad that I pasted above. |
When you open the terminal and enter |
Yes, it returns this: OpenSSL 3.0.0 7 sep 2021 (Library: OpenSSL 3.0.0 7 sep 2021) |
Could you try restarting your R session before re-running all of the code to make sure all of the libraries are reloaded correctly? |
Confirming that even after restarting my R session, the code produces the same error I posted above, even after installing openssl and adding it to my user path. |
Nevergrad installation could be quite tricky unfortunately. This whole thread Is about installing Nevergrad on different OS, including some solutions for Windows. Probably worth checking out. |
@sab26699 were you able to resolve your nevergrad installation? |
@kyletgoldberg unfortunately, no. I didnt find any advice in the thread above that helped me install nevergrad. |
Fopr the warning Unexpected format for PythonCore version: 3.10 |
"Codeless Robyn" is currently in development on a private repo and will be released soon. It's being rebuilt entirely from scratch and will be shared as a complementary package for educational purposes. Stay tuned 👍 |
Project Robyn
I'm using the Codeless version of Robyn and keep running into the same issue in the 'Model Tuning' Step
Using the dummy data sets provided by FB. The Model Tuning step always shuts down the Codeless Robyn window in R Studio, and I get the console. I'm using R Version 4.1.1 and Codeless version of Robyn.
Running trial nr. 1out of 40...
Warning in normalizePath(path.expand(path), winslash, mustWork) :
path[1]="\fileserver2.centro.net": The specified path is invalid
Warning in normalizePath(path.expand(path), winslash, mustWork) :
path[1]="\fileserver2.centro.net": The specified path is invalid
Warning in read_python_versions_from_registry("HCU", key = "PythonCore") :
Unexpected format for PythonCore version: 3.10
Warning in read_python_versions_from_registry("HCU", key = "PythonCore") :
Unexpected format for PythonCore version: 3.10
Warning: Error in py_module_import: ModuleNotFoundError: No module named 'nevergrad'
[No stack trace available]
I'm pretty new to R and am not sure how to interpret these errors. Any guidance would be helpful. Thanks!
The text was updated successfully, but these errors were encountered: