Closed smallduan closed 1 year ago
Dear @smallduan, I have yet to have the chance to test flowTorch on Windows. A few pieces of code are Linux/Unix specific (Dataloaders), but I plan to replace them. In the WSL/Ubuntu, everything should work as usual. Can you clarify why precisely the installation process fails? Best regards, Andre
Dear @AndreWeiner
Thank you for your help.
I installed the flowtorch use pip3 install git+https://github.com/FlowModelingControl/flowtorch
.
I installed Paraview and changed the .bashrc
I use vscode to try the example from the online document in Optimal hard threshold for singular values with python3.8.10
Then I get errors
Best regards smallduan
The problem comes from the ParaView Python module. ParaView comes with some versions of standard Python packages that sometimes conflict with the system's versions. I am still trying to figure out how to avoid this conflict in the installation procedure. Two solutions: 1) if you don't need the ParaView module (no Tecplot data):
pip3 uninstall flowtorch
pip3 install git+https://github.com/FlowModelingControl/flowtorch.git@aweiner
2) if you need the Tecplot loader:cd /opt/ParaView-5.9.1-MPI-Linux-Python3.8-x86_64/lib/python3.8/site-packages
sudo rm -r h5py matplotlib pandas mpl_toolkits numpy pandas scipy pygments
Option 1) is definitely the better one. Hope this helps. Best, Andre
Dear @AndreWeiner
I have tried the option1
and restart the wsl, but the same errors still account when I try to use from flowtorch.analysis import SVD
. Maybe this problem is caused by the WSL.
Dear @AndreWeiner
I am going to install anaconda in wsl and try again. I hope I can finish it successfully.😊
Hello @AndreWeiner
I have installed flowtorch successfully by conda environment by option1. I think the problem above may caused by the system python environment.
Best regards smallduan
Dear @smallduan, thank you so much for reporting back on how exactly you made it work. That will be very helpful for me when creating instructions for a Windows setup at some point in the future. I'll close this issue for now. Thanks again, Andre
Hello
I want to use flowtorch on my windows systerm. I want to know if it can be installed by the wsl(I have tried to do it ,but I am failed).