swmm-toolkit can not install in linux amd64,only have linux_x86_64 #114
Replies: 16 comments
-
@Lijifeng1234 you’re going to have to build it. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@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 .. |
Beta Was this translation helpful? Give feedback.
-
Thanks,I'll try it now. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
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( |
Beta Was this translation helpful? Give feedback.
-
@Lijifeng1234 from which directory are you trying to run that command? Is it in your SWMM-toolkit ? |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@abhiramm7 any thoughts with this one? |
Beta Was this translation helpful? Give feedback.
-
I’m converting this to a discussion since we have not opted to support amd64 at this time. |
Beta Was this translation helpful? Give feedback.
-
@Lijifeng1234 can you share the commands you ran? We should be able to run amd without any issues. We can help you build it :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions