Code Monkey home page Code Monkey logo

Comments (11)

cmastalli avatar cmastalli commented on June 16, 2024 1

@nim65s -- could you update the readme file before releasing the new version of Crocoddyl?

from crocoddyl.

cmastalli avatar cmastalli commented on June 16, 2024

Hi @candyriver,

This might be related to a corrupted installation procedure. Can you provide more details on how you have installed Crocoddyl? Please read again the installation instructions.

from crocoddyl.

candyriver avatar candyriver commented on June 16, 2024

I just follow the installation instructions and run the following command in the terminal:

pip install --user crocoddyl

from crocoddyl.

cmastalli avatar cmastalli commented on June 16, 2024

@nim65s is aware with pip installation details. He might need further details to understand your situation.

from crocoddyl.

jcarpent avatar jcarpent commented on June 16, 2024

@candyriver Conda might be your friend conda install -c conda-forge crocoddyl.

from crocoddyl.

candyriver avatar candyriver commented on June 16, 2024

@candyriver Conda might be your friend conda install -c conda-forge crocoddyl.

Thanks for your reply! But sadly it didn't help.

from crocoddyl.

candyriver avatar candyriver commented on June 16, 2024

After testing with Python 3.6, the error no longer occurred. This suggests that the issue only affects Python 3.10. I carefully reviewed the installation instructions available on https://github.com/loco-3d/crocoddyl/tree/devel and noticed that in the section labeled "From Debian/Ubuntu packages, with robotpkg", it instructs to set the PYTHONPATH environment variable as follows:
export PYTHONPATH=/opt/openrobots/lib/python3.10/site-packages:$PYTHONPATH
However, upon running apt-cache search robotpkg-py3*, I was unable to find a version of crocoddyl that is compatible with Python 3.10. Upon further investigation, I discovered that the issue is likely caused by the operating system being Ubuntu 18.04.
Maybe the issue could be closed.

from crocoddyl.

nim65s avatar nim65s commented on June 16, 2024

@candyriver : we offer multiple installation options. From what I can see here, you tried 2 different:

  1. wheel packages downloaded from pypi.org with eg. pip install crocoddyl β†’ Those packages require python >= 3.7, and the crocoddyl one might not be working until #1128 is out
  2. deb packages downloaded from robotpkg.org with eg apt install robotpkg-py3*-crocoddyl β†’ Those packages require using the python3 provided by your Debian / Ubuntu installation, so in your 18.04 case only 3.6 will work

@jcarpent also provided a third option through conda. I do not know why this one didn't work for you.

from crocoddyl.

candyriver avatar candyriver commented on June 16, 2024

@nim65s Thanks for your attention!
Although the OS system is Ubuntu 18.04, I am using the latest conda environment, so my Python version is 3.10. However, I am still unsure why 'pip install --user crocoddyl' or 'conda install -c conda-forge crocoddyl' did not work for me. It's possible that these methods rely on the system installation, which may explain the issue.

To resolve the error message stating 'ImportError: libboost_chrono.so.1.80.0: cannot open shared object file: No such file or directory', I manually compiled and installed boost_1_80_0. However, this led to another error.

from crocoddyl.

nim65s avatar nim65s commented on June 16, 2024

if you are in a conda environment, deb packages installed with apt can't work.

Both pip and conda packages should work, and shouldn't rely on system stuff, but at the moment I think pip wheels are broken for crocoddyl, I'll fix this asap.

from crocoddyl.

cmastalli avatar cmastalli commented on June 16, 2024

Closing this issue as @candyriver find a way to install Crocoddyl. Thanks for providing support, @nim65s and @jcarpent!

from crocoddyl.

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.