Open sindizzy opened 2 years ago
Are you on Windows? I think you need to launch fprettify from a command line, not from Python prompt.
Yes in windows 10. I tried both.
@sindizzy The path after following the fprettify
command might be too long.*)
Enter the the directory containing the Fortran file(s) to process with the command line (use of cd
), then apply the utility locally (e.g., fprettify test.f90
or fprettify *.f90
) on the current folder's content. This omits potential complications by forward/backward slashes. If using fprettify
with an installation by pip
(thus PyPi) for your standard CPython (or the portable WinPython) still fails, there apparently is a port to conda/miniconda (repository). Testing the installation with a minimal Fortran program may draw a base line, too.
*) On occasion, I observed difficulties to direct a program's action on a file if that file was too many levels away/the path pointing to the file to process was too quirky. Though this experience refers to Linux Debian 12/bookworm (perhaps more importantly, not limited to fprettify
), maybe there equally is a similar implicit threshold in Windows as the operation system.
So I installed the latest Python and installed fprettify package. All was installed successfully. Now when I go to the Python terminal prompt it says:
So not sure what I'm doing wrong.