Coder Social home page Coder Social logo

Python 3.10 support about mplib HOT 3 CLOSED

haosulab avatar haosulab commented on June 29, 2024
Python 3.10 support

from mplib.

Comments (3)

vonHartz avatar vonHartz commented on June 29, 2024

I would also happy to help if there's something I can do.

from mplib.

vonHartz avatar vonHartz commented on June 29, 2024

I've been trying to figure it out myself, see my fork here: https://github.com/vonHartz/MPlib

I also manage to compile in the Docker container and install the resulting wheel.
However, when I try to import mplib, I get the following error:

    import mplib
  File "/home/hartzj/miniconda3/envs/maniskill310/lib/python3.10/site-packages/mplib/__init__.py", line 1, in <module>
    from .planner import Planner
  File "/home/hartzj/miniconda3/envs/maniskill310/lib/python3.10/site-packages/mplib/planner.py", line 11, in <module>
    from .pymp import *
ImportError: /home/hartzj/miniconda3/envs/maniskill310/lib/python3.10/site-packages/mplib/pymp.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3fcl6detail15updateFrontListEPSt4listINS0_12BVHFrontNodeESaIS2_EEii

Part of the problem seems to be that my generated wheel does not contain a mplib.libs folder with the so files.

How do I need to adapt my build process?

Would really appreciate any help!

from mplib.

vonHartz avatar vonHartz commented on June 29, 2024

Fixed it using auditwheel.

from mplib.

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.