swmm-toolkit can not install in linux amd64,only have linux_x86_64 #114
Replies: 17 comments
|
@Lijifeng1234 you’re going to have to build it. |
|
|
@Lijifeng1234, I created a simple guide in this issue (which coincidentally is very similar to your request today). Give this process a try with amd64 .. |
Thanks,I'll try it now. |
|
Sorry, the official documentation is as follows swmm_toolkit-0.14.0-cp311-cp311-win_amd64.whl (383.7 kB view hashes) swmm_toolkit-0.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (487.3 kB view hashes) swmm_toolkit-0.14.0-cp311-cp311-macosx_10_9_x86_64.whl (608.2 kB view hashes) just have win_amd64\macosx_x86_64\manylinux_2_17_x86_64, linux_amd64 or linux_aarch64 not exits in range. Can you provide the installation files for the above linux version or thr source code compiled files in Linux? |
|
@Lijifeng1234, I am not sure what you were asking for. Cmake is our build generator. All of the build files relevant to the code are all in the repository. Are you asking for the SWMM source code? If so, that is part of a sub module, that you would have to check out with the instructions that I gave in the document |
Sorry,I got the system architecture wrong initially. I want to install pyswmm and swmm-toolkit in python 3.9 by arrch64_linux server,but pypi.org.com can not provide swmm-toolkit package with arrch64_linux.Meanwhile,installing swmm-toolkit by compiling source code always failed.I can't find the source code for pyswmm completion that compiles successfully in linux_aarch64.Could you help me? |
|
@Lijifeng1234, can you describe what failed when you were trying to build the SWMM-toolkit wheel? I outlined the whole process in the PDF. “Pyswmm” is all python code, this repository is the interfacing maps to the pyswmm/stormwater-management-model repository (where the code for SWMM is). If you follow the document line for line, can you tell me what errors you have? |
python3 setup.py bdist_wheel CMake Error at swmm-solver/CMakeLists.txt:121 (install): CMake Error at swmm-solver/CMakeLists.txt:130 (install): install( install( |
|
@Lijifeng1234 from which directory are you trying to run that command? Is it in your SWMM-toolkit ? |
Yes,I got file from "https://github.com/pyswmm/swmm-python",and add "extern","swmm-solver" from "https://github.com/pyswmm/Stormwater-Management-Model" ["/extern","/src/solver"] [root@localhost swmm-toolkit]# ls [root@localhost swmm-toolkit]# ls swmm-solver/ [root@localhost swmm-toolkit]# mkdir -p ./dist -- Trying "Unix Makefiles" generator-- Update the VERSION argument value or use a ... suffix to tell -- The C compiler identification is GNU 7.3.0
|
|
@Lijifeng1234 I’ll preface my idea that I’ve been wrong many times before. This really seems like a directory problem. Can you send a screenshot of your directory and show where all the code and project contents are? SWMM-toolkit needs SWMM-solver in a very specific layout. I just want to confirm the sub modules are correct. Then I want to make sure the right versions are checked out of SWMM and SWMM-toolkit |
|
|
I’m converting this to a discussion since we have not opted to support amd64 at this time. |
|
@Lijifeng1234 can you share the commands you ran? We should be able to run amd without any issues. We can help you build it :) |
|
swmm-toolkit has supported aarch since version 0.15.1 musl linux support coming soon! |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
All reactions