How to install libgfortran.so.4 from source - amazon-ec2

ImportError: libgfortran.so.4: cannot open shared object file: No such file or directory
I am getting this error .
Here the requirement is I need to install libgfortran.so.4 from souse ?
could any one help me on that.
Thanks.
I need to install libgfortran.so.4 from souse .

Related

ModuleNotFoundError: No module named 'apt_pkg && ln: failed to create symbolic link 'apt_pkg.so': File exists on ubuntu20.04

I already have python version 3.7.4 and i am trying to install new python version along with the existing but unable to do so as the following error occur:
ModuleNotFoundError: No module named 'apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
i tried to reinstall apt_pkg to solve this and even remove it and install it again but nothing works
during the re-installation process the following error occur:
ln: failed to create symbolic link 'apt_pkg.so': File exists on ubuntu20.04
on listing i found:
ll apt_pkg.*
i can see multiple versions of apt_pkg. how to correctly link this and solve the problem?

C:\Users\stc>cxxtestgen --version python: can't open file 'C:\\Users\\stc\\cxxtestgen': [Errno 2] No such file or directory

When i install cxxtest then it installed successfully . but when i check its version on cmd it show that python can't open file no such directory. I have installed python also. I add the path also after them this type of error came.

error trying to create extension: pg_stat_statement

I'm trying to install pg_stat_statements doing this:
CREATE EXTENSION pg_stat_statements;
and I get this:
ERROR: could not open extension control file "/usr/local/greenplum-db-6.10.1/share/postgresql/extension/pg_stat_statements.control": No such file or directory
I already installed postgresql-contrib as follow:
sudo yum install postgresql-contrib
The file pg_stat_statements.control is not found on the location specified in the error, should I download it? or how does it work?
There is no documentation of that extension of greenplum. I would say its not supported.

Heroku Could not generate requirement for distribution -lotly 2.7.0

Hi I am having some error when I am trying to deploy my app to Heroku.
When I pip freeze>requirements.txt, I am getting this error:
"WARNING: Could not generate requirement for distribution -lotly 2.7.0 (c:\users\xxx\appdata\local\programs\python\python37-32\lib\site-packages): Parse error at "'-lotly=='": Expected W:(abcd...)"
Can anyone help me out? thanks!
You can solve this error by deleting this module from the site-packages directory. from your question above, it looks like the module is present in c:\users\xxx\appdata\local\programs\python\python37-32\lib\site-packages .
you can do a sanity check by using pip freeze .
I was getting the same error while I was trying to do "pip freeze > requirements.txt"
Could not generate requirement for distribution -eportlab3.5 ....
There should be a corrupt file on the site-packages folder similar to '~eportlab-3.5.50.dist-info' OR '~eportlab'. Delete it manually and run the same command. It should work.

octave package install not successful for windows

[Hello, I have a question that i cannot install the package for OCTAVE by the package from here : https://sourceforge.net/projects/octave/?source=typ_redirect
My system is windows. please help me.
pkg install nan-3.1.4.tar.gz
ls: /usr/local/: No such file or directory
][1]
You should install from https://www.gnu.org/software/octave/#install using the installer. It includes many octave-forge packages (including nan) so the only thing you need is to pkg load io

Resources