Giter Club home page Giter Club logo

Comments (5)

stefanoallima avatar stefanoallima commented on July 16, 2024

i solved it after using the reticulate script via installing manually via conda the nevergrad and then forcing to use the correct python version instead of the standard 2.7 version pre-installed from apple

install bayesian-optimization
install nevergrad via terminal
conda install -c conda-forge nevergrad

check different python version available
then use the python version which had nevergrad by checking in terminal to make sure that python had installed the
conda list

then in rstudio
use_python("/Users/stefanoalli/opt/anaconda3/envs/r-reticulate/bin/python3.7")

this resolved the issue on my side and i was able to execute the code and get the output

from robyn.

gufengzhou avatar gufengzhou commented on July 16, 2024

great. also on line 45 in the .exec script, I've specified the command to install nevergrad in Rstudio. You need to run it once before using Robyn: conda_install("r-reticulate", "nevergrad", pip=TRUE)

from robyn.

stefanoallima avatar stefanoallima commented on July 16, 2024

yes i run conda_install("r-reticulate", "nevergrad", pip=TRUE) but still was throwing errors... it took quite many trials of running the script and investigating to identify the problem that i was experiencing

once i specified the
use_python command
it accepted nevergrad installation and worked fine

from robyn.

gufengzhou avatar gufengzhou commented on July 16, 2024

good one. i'll add this to the comments. thanks!

from robyn.

KratosC avatar KratosC commented on July 16, 2024

i solved it after using the reticulate script via installing manually via conda the nevergrad and then forcing to use the correct python version instead of the standard 2.7 version pre-installed from apple

install bayesian-optimization install nevergrad via terminal conda install -c conda-forge nevergrad

check different python version available then use the python version which had nevergrad by checking in terminal to make sure that python had installed the conda list

then in rstudio ### use_python("/Users/stefanoalli/opt/anaconda3/envs/r-reticulate/bin/python3.7")

this resolved the issue on my side and i was able to execute the code and get the output

How Do I know what pathway to input in use_python() ?

from robyn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.