Booritas / slideio

BSD 3-Clause "New" or "Revised" License
49 stars 2 forks source link

Slideio is not available for Mac M1 #4

Closed Eisstand closed 1 year ago

Eisstand commented 2 years ago

when executing pip install slideio

it returns the error message: ERROR: Could not find a version that satisfies the requirement slideio (from versions: none) ERROR: No matching distribution found for slideio

pip seems to work fine otherwise

Booritas commented 2 years ago

Hello, thanks for reaching me! Could you send me the following information:

Eisstand commented 2 years ago

Certainly,

Thank you!

Booritas commented 2 years ago

Ah, I see, I did not prepare macos and windows version for the python 3.10 yet. I hope I can publish them today. The latest this weekend. I will let you know when it is ready. Currently, versions for pythons 3.5 - 3.9 are published.

Eisstand commented 2 years ago

Fantastic! And no rush!! :)

Booritas commented 2 years ago

I just published library version for python 3.10 (MacOs and Windows). Please let me know if you have any problem with the library. If you like the library, please consider adding a star to the repository. Best regards, Stanilsav

Eisstand commented 2 years ago

Unfortunately it still says: ERROR: Could not find a version that satisfies the requirement slideio (from versions: none) ERROR: No matching distribution found for slideio I hope it's not an issue on my end, but installing other pip packages works fine... to add I am using an M1 Mac, if that's relevant

Booritas commented 2 years ago

Unfortunately, you're right. M1 is the problem. I don't have access to the hardware now. Neither GitLab nor GitHub support Mac Arm processors yet. I use a lot of 3rd party libraries in the project, and none of them is available for Mac Arm processor yet. I'll do some research for a solution, but it will take some time. I'm sorry about the inconvenience. Best regards, Stanislav

aarnsygna commented 1 year ago

Hello there, I wanted to drop a message and mention I am experiencing the same issue, exact error message on two M1 computers.

As is already confirmed it is an architecture issue, I did want to add on an Intel Mac (python 3.10.x) issue does not occur. (Though python 3.11 also caused similar issue, but more of a fyi).

Any suggestions or anything I can provide?

bhanudaybirla commented 1 year ago

Hi @Booritas , I am also facing the same issues mentioned here in this thread. I too have Mac with M1 chip and i think because of that I am not able to install. Is there an update on this or any workaround till we get pip install working for slideio. Also can we build using raw git repo on mac with M1 chip?

Booritas commented 1 year ago

Hello, I'm sorry for the inconvenience. I have some problems with M1/M2 chips - I don't have the hardware and Github and Jfrog which I use for CI, do not support the platform. But I have some idea and will try to solve the problem. Give me a few days to try something. @bhanudaybirla, yes you can build the library from the repository. The instructions are here: https://www.slideio.com/python.html. Best regards, Stanislav

bhanudaybirla commented 1 year ago

Thank you very much. Looking forward to the fix you are working on. I will also try building it from repo.

Lezgo11 commented 1 year ago

Hey there! I am having this same issue with a windows PC. I don't understand how to build the library from the repository from the instructions.

Booritas commented 1 year ago

Hello @Lezgo11, you should not have any problem with the Windows version unless it runs on an arm processor. Could you give some details about your environment:

Lezgo11 commented 1 year ago

Hello @Booritas

I'm Running Windows 10 Enterprise with a 64-bit Processor (not ARM) and the latest Python version, 3.11.3. I tried installing from the pip manager and i get this error: Unbenannt

Thank you for your help!

Booritas commented 1 year ago

Dear @Lezgo11, Unfortunately, the latest Windows version of the library is available for pythons 3.6-3.10. I'm preparing a new version that should fix this issue as well as packages for MacOS arm machines. I expect it to be ready in 1-2 weeks. Would it be possible to work with python 3.10 until this time? I'm sorry for any inconvenience, Stanislav

Lezgo11 commented 1 year ago

For sure! Silly me. Thank you!

Booritas commented 1 year ago

Hello,

I have managed to compile a version for MacOS M1/M2 processors. Unfortunately, I cannot run a complete test on the package due to a lack of hardware. Please try it and let me know if it works. You can download the wheel files from the GitLab repository https://gitlab.com/bioslide/pythons. Select a wheel file according to your Python version and run the pip utility. For Python 3.11, it should be:

python3 -m pip install ./pythons/slideio-2.0.9-cp311-cp311-macosx_11_0_arm64.whl

Please let me know if it works so that I can make the package publicly available. If you like the library, please consider giving a star to the slideio repository. Best regards, Stanislav

Booritas commented 1 year ago

MacOS ARM version is public now.