Closed meijiesky closed 3 weeks ago
According to this post here https://github.com/jpype-project/jpype/pull/910, I tried and found that version 1.2.1 supports aarch64 however the later versions don't. Could you please support aarch64 for versions after 1.2.1 as well?
# pip install jpype1==1.2.1
Looking in indexes: http://mirrors.cloud.aliyuncs.com/pypi/simple/
Requirement already satisfied: jpype1==1.2.1 in ./miniforge/envs/panama_env_py38/lib/python3.8/site-packages (1.2.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
I too went to install JPype1
on Ubuntu 24.10 for ARM the other day and came to the same realization. Would love to see a wheel for it!
The log says error: command 'g++' failed: No such file or directory
. Have you tried installing a c++ compiler and trying again?
I just tried again, and it was able to build the source. Not sure why it failed for me before.
(venv) ryan@ubuntu2410:~$ pip3 install JPype1
Collecting JPype1
Downloading JPype1-1.5.0.tar.gz (819 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.1/819.1 kB 26.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting packaging (from JPype1)
Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Downloading packaging-24.1-py3-none-any.whl (53 kB)
Building wheels for collected packages: JPype1
Building wheel for JPype1 (pyproject.toml) ... done
Created wheel for JPype1: filename=JPype1-1.5.0-cp312-cp312-linux_aarch64.whl size=447131 sha256=b556d5f950b36f344888cee0c0c9454084fcd42241155381169257a29d6c357f
Stored in directory: /home/ryan/.cache/pip/wheels/62/a4/75/36e26edddd69fa4006421979f7782fa8758f43797474fc7ef6
Successfully built JPype1
Installing collected packages: packaging, JPype1
Successfully installed JPype1-1.5.0 packaging-24.1
The log says
error: command 'g++' failed: No such file or directory
. Have you tried installing a c++ compiler and trying again?
This error occurs because it couldn't find the desired package and started to build from source but failed due to the lack of compiling environment. I would prefer to install the pre-built package since it is easier. The doc said it provides arm support for 1.2.1 and future releases but it seems the arm wheels are not built.
@marscher why is it closed????????????????????
I didn't even know we provide arm64 binaries out of the box. I think conda-forge does provide it (external build pipeline). The package there is called jpype1.
If you volunteer to look into it - fine give it a shot. I do not have the time to dig into it and I believe nobody of the volunteers working here for no cash have it at the moment. Watch your tone mate.
I didn't even know we provide arm64 binaries out of the box. I think conda-forge does provide it (external build pipeline). The package there is called jpype1.
If you volunteer to look into it - fine give it a shot. I do not have the time to dig into it and I believe nobody of the volunteers working here for no cash have it at the moment. Watch your tone mate.
I already posted the screen shot of the release note saying that aarch64 has been added to the built patterns for publication in this and future releases. If you didn't know, look at it, read it and realize there was something wrong instead of closing my issue.
Just because I asked you why you closed the issue, you ask me to watch my tone, LOL. Pathetic, mate.
I didn't even know we provide arm64 binaries out of the box. I think conda-forge does provide it (external build pipeline). The package there is called jpype1.
If you volunteer to look into it - fine give it a shot. I do not have the time to dig into it and I believe nobody of the volunteers working here for no cash have it at the moment. Watch your tone mate.
Don't speak on behalf of the other volunteers. They are more helpful and better than you.
I didn't even know we provide arm64 binaries out of the box. I think conda-forge does provide it (external build pipeline). The package there is called jpype1.
If you volunteer to look into it - fine give it a shot. I do not have the time to dig into it and I believe nobody of the volunteers working here for no cash have it at the moment. Watch your tone mate.
Don't speak on behalf of the other volunteers. They are more helpful and better than you.
It takes all of two seconds to install g++ on linux. Having a c/c++ compiler available is expected when installing python packages. Minimal troubleshooting on your end would fix the problem. It is not feasible to provide pre-built wheels for every possible architecture/os combinations.
It also appears that you are using http://mirrors.cloud.aliyuncs.com
so if it doesn't have the packages you need that is entirely on you.
I understand that the confusion may cause an emotional reaction but your response to this being closed was not appropriate.
I didn't even know we provide arm64 binaries out of the box. I think conda-forge does provide it (external build pipeline). The package there is called jpype1. If you volunteer to look into it - fine give it a shot. I do not have the time to dig into it and I believe nobody of the volunteers working here for no cash have it at the moment. Watch your tone mate.
Don't speak on behalf of the other volunteers. They are more helpful and better than you.
It takes all of two seconds to install g++ on linux. Having a c/c++ compiler available is expected when installing python packages. Minimal troubleshooting on your end would fix the problem. It is not feasible to provide pre-built wheels for every possible architecture/os combinations.
It also appears that you are using
http://mirrors.cloud.aliyuncs.com
so if it doesn't have the packages you need that is entirely on you.I understand that the confusion may cause an emotional reaction but your response to this being closed was not appropriate.
Asking why it is closed was "not appropriate". I don't understand what you are talking about here.
Is closing an issue without clarifying any of the questions "appropriate"? Is banning my account from the project just because I had questions on the aarch64 wheels "appropriate"?
Closing the issue means the posted question is fully understood and well answered. I don't see any of these when it's closed as completed. Let alone the person who closed it left no comment on the question.
I used conda to create a python 3.8 environment but I cannot pip install jpype1 on the linux aarch64 machine. Please help. Thanks!!!
Error: