pydsstools
pydsstools copied to clipboard
Problems with the installation of the library
Dear,
Firstly, thank you very much for the so useful library that allows the automation of HMS softwares.
We are trying to install the library in Windows OS, following the procedure (installing firstly the dependent libraries and the MS Visual C++ Redistributable for VS 2015 - 2019) you are describing. Unfortunately, it was not possible to install the library (neither via githab directly nor via "wheel_file"). You can see below the error that is returned by the system. Our IT guys consulting me that perhaps a tool that support the building of the library is not included in MS Visual C++ Redistributable for VS 2015 - 2019. Due to this we downloaded and installed the entire MS Visual C++ libraries with .NET Frameworks as well as the Visual studio code but the error insists.
We tried the above procedure with different python versions and using the DSS tool you propose.
This is really strange to us because we had managed to instal the library previous September, and it was a straightforward procedure (it was taken just a couple of minutes).
8-11eb-84f0-6ea29df8249a.png)
Could you please provide any advice on the above? It whould be much appreciated.
Best regards,
Panagiotis Kossieris
-- Dr. Panagiotis Kossieris Civil Engineer NTUA, M.Sc. NTUA, Ph.D. NTUA
Research associate National Technical University of Athens School of Civil Engineering, Department of Water Resources and Environmental Engineering Heroon Polytechneiou 5, GR 157 80 Zographou, Greece Tel: +30 210 772 2842 e-mail: [email protected]| [email protected]
Hi @pankoss, I don't recommend building from source as it requires both MS Visual C++ and Intel Fortran compilers. The later is free only for users such as open source developers and students. For installation from the wheel file, you need to open command prompt with python and pip library in the path. Typing "where python" or "where pip" should show the location of python.exe and pip.exe, respectively. Then download the pydsstools wheel file compatible with the installed python version and type following in the command prompt: pip install "full-path-of-the-downloaded-wheel-file".
I solved the compilation problem on linux by changing the filename hecdatatime.h to HecDateTime.h which the name in .cpp file
Hi gyanz, I just came across this tool and I am interested for a friend of mine, so I am trying to understand a bit more.
I should also say, it's a brilliant peice of code !
I have it installed, however I cannot get dssvue to be recognised. If I add " from dssvue.main import show " there is a yellow squiggly line under dssvue.main and hovering says this..... Import "dssvue.main" could not be resolved..... I downloaded and opened HEC-DSSVue as recommended, but I am uncertain where I should place the files.
Any thoughts would be most welcome, Thanks Bernie University of Cambridge Engineering Dep't Cambridge UK