Closed smeng9 closed 12 months ago
Hi Professor @krishauser
After I compared with my colleague computer for the same Klampt setup, I discovered there are two version of Klampt 0.9.0 published for Python 3.10. One for manylinux2014 published on Feb 7, another for manylinux2010 published on Jan 19. Apparently my colleague installed during Jan 19 - Feb 7 period so he got a working copy.
Is it possible to unpublish the problematic Python 3 version for manylinux2014 so we can use pip to install it without a problem?
Hi Kris, I was trying out the latest version on my Ubuntu 22.04 machine with Python 3.10 and I encounter the same issue here. Would you be able to follow up on this?
As a temporary solution, download and install the whl file directly.
From: Andy Park @.> Sent: Monday, July 10, 2023 3:16 PM To: krishauser/Klampt @.> Cc: Meng, Shaoyu @.>; Author @.> Subject: Re: [krishauser/Klampt] Segmentation fault when importing Klampt installed from PyPi on Python 3.10 (Issue #152)
Hi Kris, I was trying out the latest version on my Ubuntu 22.04 machine with Python 3.10 and I encounter the same issue here, and asking for help.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/krishauser/Klampt/issues/152*issuecomment-1629670197__;Iw!!DZ3fjg!9acS06GQaTWL3DpkF2McUuD6xB1Oo8bXr6sSHwEvzyTiHhSjeUVfru90m00vxCvb3iW87FANmDHRTn7qiWnS85dGOIg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AJHAEC2ZWS5MVIBS35YXWKLXPRPKVANCNFSM6AAAAAAQIEV4FM__;!!DZ3fjg!9acS06GQaTWL3DpkF2McUuD6xB1Oo8bXr6sSHwEvzyTiHhSjeUVfru90m00vxCvb3iW87FANmDHRTn7qiWnSPdBFzbY$. You are receiving this because you authored the thread.Message ID: @.***>
I was able to reproduce the problem on an Ubuntu 22.04 fresh install - both from pip install and from source - currently looking more deeply into this.
@robodreamer,
As suggested by @smeng9, manually installing the manylinux 2010 wheel from here (https://pypi.org/project/Klampt/0.9.0/#files, i.e. , this one https://files.pythonhosted.org/packages/bf/2e/83a1d9b4d843979ea76ba2e5e81ef3f7712bb900762cd8c196e280ebf3df/Klampt-0.9.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl ) seems to solve the import problem. It should work while we address the bigger issue. Another alternative for now is to work on a python 3.9 virtual environment, as I can verify that pip installing klampt on a anaconda env with python 3.9 works as intended.
I'll let you know if I find what went wrong with the manylinux2014 wheel.
Hi Joao, did you eventually find what is going wrong with the manylinux2014 or you just used the bypass method?
We haven’t gotten around to this. This will require some deep debugging of how the compile options in pip have changed. Hopefully we’ll have more time after the 15th.
Resolved in version 0.9.1.
Hi Professor, we tried to upgrade our Python version from 3.9 to 3.10 recently and we encountered a segmentation fault issue on Python 3.10, but not on 3.9
Steps to reproduce:
When changing the above image from python:3.9 to python:3.10, it throws segmentation fault issue. The same segmentation fault happens on Python 3.10 with Ubuntu 22.04.
GDB trace: