Coder Social home page Coder Social logo

Comments (5)

lylwy avatar lylwy commented on August 15, 2024 2

请问您的问题解决了吗?如果仍有问题,您可以贴出报错,我会尽力帮您解决;没有问题的话我会关闭这个issue

这个问题已经解决了,谢谢您!

from bridge_construction.

IrisLi17 avatar IrisLi17 commented on August 15, 2024

Hi, the *.so files inside env/ikfastpy are compiled with ubuntu 16 + python 3.6. To re-compile, you need to modify "free4" to "free0" in these two lines

#include "ikfast61_xarm7_free4.cpp"
,
setup(ext_modules=[Extension("ikfastpy_free4",
, then delete the files generated from your last compilation process, and try python setup.py build_ext --inplace. Note that only python3 works, you may need to check the python version you use for compiling.

from bridge_construction.

lylwy avatar lylwy commented on August 15, 2024

嗨,里面的文件是用ubuntu 16 + python 3.6编译的。要重新编译,您需要在这两行中将"free4"修改为"free0"*.so``env/ikfastpy

#include "ikfast61_xarm7_free4.cpp"

,

setup(ext_modules=[Extension("ikfastpy_free4",

,然后删除上次编译过程中生成的文件,并尝试 。请注意,只有python3可以工作,您可能需要检查用于编译的python版本。python setup.py build_ext --inplace

**人不骗**人

from bridge_construction.

IrisLi17 avatar IrisLi17 commented on August 15, 2024

请问您的问题解决了吗?如果仍有问题,您可以贴出报错,我会尽力帮您解决;没有问题的话我会关闭这个issue

from bridge_construction.

lylwy avatar lylwy commented on August 15, 2024

请问您的问题解决了吗?如果仍有问题,您可以贴出报错,我会尽力帮您解决;没有问题的话我会关闭这个issue

还没,我在按照你说的编译了ikfastpy_free0后,在导入他的时候会出现错误:“dynamic module does not define module export function(PyInit_ikfastpy_free0)”

from bridge_construction.

Related Issues (3)

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.