-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install ttpy in Windows #89
Comments
You are following the right installation steps. The issue is that there is a bug in GNU Fortran compiler. Try to use newer |
Many thanks for your answer,Daniel. I used gfortran 9.2 to compile ttpy, and got such an error: From this link https://stackoverflow.com/questions/63235674/python-sys-resource-h-no-such-file-or-directory-error-while-building-whl, it seems that it is because there should not be no such a file in Windows? Would you mind kindly telling me how to resolve this problem? I would really appreciate your great help.
|
Right. There is not |
I am not sure what is the concrete solution to your issues since I am not Windows user.
The major difference between MingGW and Cygwin is that they provide different levels of compatibility. So, you can try to build with Cygwin.
Symbol |
Sorry, it seems I have accidentally removed your previous comment. |
Many thanks for your quick reply, Daniel. I am so sorry for bothering you. I deleted my previous comment by myself, because I found that, when I directly downloaded ttpy-1.2.1.tar.gz from pypi and installed it by running "python setup.py install", the aforementioned error "collect2.exe: error: ld returned 1 exit status" also occurs. Would you mind kindly telling me the correct way to install the ttpy-1.2.1.tar.gz in the local directory? The compiler is MinGW with gcc 9.2.0. I sincerely hope to use ttpy in Windows. I would really appreacite your help.
|
The best way to get actual source code of |
Hello. I hope to use ttpy in Anaconda for Win10 64bit.
If I run "pip install ttpy" in Anaconda Prompt, ttpy-1.2.1.tar.gz would be downloaded and compiled, then the folloing error occurs:
"internal compiler error: in conv_function_val, at fortran/trans-expr.c:3769
libbacktrace could not find executable to open
error: Command "C:\mingw64\bin\gfortran.exe -Wall -g -fno-second-underscore -O3 -funroll-loops -IC:\Users\Appreciator.conda\envs\FFT\lib\site-packages\numpy\core\include -Ibuild/temp.win-amd64-3.7 -Ibuild/temp.win-amd64-3.7 -Ibuild/temp.win-amd64-3.7 -IC:\Users\Appreciator.conda\envs\FFT\include -IC:\Users\Appreciator.conda\envs\FFT\include -c -c tt\tt-fort\print\dispmodule.f90 -o build\temp.win-amd64-3.7\tt\tt-fort\print\dispmodule.o -Jbuild\temp.win-amd64-3.7 -Ibuild\temp.win-amd64-3.7" failed with exit status 1"
The compiler I am using is MinGW-W64 GCC-8.1.0.
Would you mind telling me how to install ttpy in Win10 64bit? I would really appreciate your help.
The text was updated successfully, but these errors were encountered: