SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The gcc-compiler suite version 5.5.0 is installed here; just re-installed all versions. However, neither numpy nor numpy3 will build. They fail almost instantly with this error:
File "/tmp/SBo/numpy-1.14.3/numpy/distutils/fcompiler/gnu.py", line 83, in gnu_version_match
raise ValueError(err + version_string)
ValueError: A valid Fortran version was not found in this string:
stderr is not a tty - where are you?
5.5.0
A web search for the value error returns hits on selecting the fortran compiler for f2py, and nothing relevant to the error encountered here.
I don't understand why the installed gfortran is not seen by these packages. Explanations are needed so I can fix this issue on both numpy versions.
I think the error is coming from the Fortran compiler when numpy tries to query the version. What is the output of
Code:
gfortran -dumpversion
(Run it in the same environment where you are trying to build numpy. For example, if you are doing it over SSH, then run this command over SSH too.) Also, this is a very old thread, but maybe it will be of some help:
The version of gfortran dumped is 5.5.0 and this is shown on the last line of the failure report. This is what puzzles me: if the ValueError is not finding a valid Fortran version why does the process display the number of the installed Fortran version?
The version of gfortran dumped is 5.5.0 and this is shown on the last line of the failure report. This is what puzzles me: if the ValueError is not finding a valid Fortran version why does the process display the number of the installed Fortran version?
Thanks,
Rich
What I think is happening is that when the installer runs the command `gfortran -dumpversion`, for some reason gfortran is first printing "stderr is not a tty - where are you?" and then the version. The "stderr is not a tty" part is confusing the installer, and it is unable to parse the version string correctly. Do you not see that error when you run `gfortran -dumpversion` manually?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.