Code Monkey home page Code Monkey logo

Comments (6)

jrapin avatar jrapin commented on July 30, 2024 1

Hi,
Thank you for your feedback, I have updated the pip install instruction to use http instead of ssh, which should work now. I will also update the dummy package in Pypi as soon as I can (but not a lot of time to do this in this period of year ;) ) which will make installation simpler (pip install nevergrad).

Concerning your second issue, it does strongly look like a path issue. Are you sure you are using the same install in both cases ?
I would advice trying in a virtualenv:

python3 -m venv testvenv
source testvenv/bin/activate
which pip  # should be in the venv
which python  # should be as well, and in the virtualenv python=python3
pip install git+https://github.com/facebookresearch/nevergrad@master#egg=nevergrad
python mynevergrad.py

from nevergrad.

eyaler avatar eyaler commented on July 30, 2024 1

i had the exact same two issues. i can confirm that both are solved for me.

from nevergrad.

teytaud avatar teytaud commented on July 30, 2024

Maybe just a problem of PYTHONPATH ?
not sure, but maybe

========
pushd src/nevergrad
(or navigate to a place in which there is something at "ls nevergrad/optimization/optimizer_lib")
export PYTHONPATH=pwd:$PYTHONPATH
popd

Does it solve it ?

from nevergrad.

jrapin avatar jrapin commented on July 30, 2024

@salamanders can you confirm it works better now? (please close the issue if yes ;))

from nevergrad.

jrapin avatar jrapin commented on July 30, 2024

Thanks, I'll close this issue then, please open a new one if there is any problem ;)

from nevergrad.

salamanders avatar salamanders commented on July 30, 2024

git+https://github.com/facebookresearch/nevergrad@master#egg=nevergrad worked, but had the same No module named 'nevergrad.optimization' error.

The 'virtualenv' comment solved it for me, thank you!

from nevergrad.

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.