-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing ezc3d on python 3.11 fails #345
Comments
Hi there, pip install cannot work at the moment as you must compile ezc3d using CMake. That said, the #343 is ongoing for solving this long time problem. I won't be able to fix this for the next two weeks or so, but I'll do it ASAP. In the meantime, you can install ezc3d using conda :) |
thank you. so in the future it will be available with the pip installing? I guess I'm waiting then because I'm using jupyter on vs code and I don't want to change my environment. thanks for your help |
Hi there, yep, it should work pretty soon, but I'd say not in an horizon of less that 2 to 3 weeks as I have major ongoing project that I cannot delay. |
Thank you no problem, I can wait another month before I start my project, I want to use it for a baseball biomechanics project that I'm doing for fun. Dominik |
Hi @Dominikk85 As stated in #343, as of today, ezc3d can be installed using pip :) |
thank you for your contribution. unfortunately I tried again today and failed. got this error message: × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. C:\Users\dominik.keul> any idea what that is? regards, |
I have the same issue, it looks like the source distribution on pypi is incomplete edit: just saw that the MANIFEST.in excludes the C sources and some other stuff. However, everything that is needed to run |
Is that something I can fix, or do I need to wait until it is fixed? |
@Dominikk85 you can try installing it with |
Wow, you guys went fast! haha! I could not try on Windows yet (I was planning to test this today). I does work for sure on Linux, but I may (and probably need) to change a few things in the Manifest for Windows. I'll keep you posted (sorry I should have specified that it was only tested on Linux! |
@pariterre compiling works on windows, the problem is that not every platform/python combination is prebuilt as a wheel, so pip tries to compilie the source distribution which is missing the source code. i recently did the compilation workflow for another project, maybe that might be helpful for you: https://github.com/bernikr/gdtw/blob/main/.github/workflows/build_and_publish.yml |
Thanks for these insightful thoughts! I was actually about to remove the source file in PyPI, but I understand that it is needed. I'll make sure the correct files are included in the source file Also, is there anything particular I should know with cibuildwheel on windows and mac, or it is just a matter of reusing the exact code from Linux? |
it should work the same way as on linux, you just have to make sure to add an action for the source distribution build since that is currently done in your windows and macos build, but not handled by cibuildwheel. (see the action i've linked for an example) |
Should be good, can you confirm? |
yes, it actually worked for me. Thanks a lot for your contribution to python and your help. Dom |
@pariterre works for me as well could I kindly ask you to look into publishing pyomeca on pypi as well? that would finally enable me to get rid of conda, of which im not really a fan 😅 i opend an issue there as well: pyomeca/pyomeca#140 |
@bernikr I can have a look, but as opposed to ezc3d and the bio-(rbd, viz, tim) suite, I was not really a maintainer for pyomeca... When my colleague rewrote pyomeca to make it a subclass of pandas, I was not involved at all... It took me about 25 hours to port ezc3d to PyPI and I know I cannot afford that on pyomeca. So I'll have a look in a few days, but I cannot garanty that it will be done :( |
I can try to make a pull request, since it is a pure python package it should be fairly easy as there is nothing to compile, etc. |
When I'm doing pip install ezc3d in the command it will fail and give me the notion "could not find a version that satisfies the requirement ezc3d. do I need an older python version or is there a way?
The text was updated successfully, but these errors were encountered: