[Opm] Problem with installing python-ert.ecl

Arne Morten Kvarving Arne.Morten.Kvarving at sintef.no
Fri Dec 22 10:14:33 UTC 2017


arrr.


i forgot to update the definition for that packagei  see :/ i will have to rebuild packages to fix it. i'll get to it asap after xmas vacation!


for now, all i can offer is to tell you that you can extract the deb manually using;


ar x python-ecl.deb


then extract data.tar.gz to /

________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av c berg <carlpaatur at hotmail.com>
Sendt: 22. desember 2017 09:33:38
Til: opm at opm-project.org
Emne: Re: [Opm] Problem with installing python-ert.ecl


Hi,


I have similar problems as Artyom. Before reinstalling flow (libopm-simulators1-bin), I had to remove all packages using the old libecl. After reinstalling, then flow works fine, however, I can't install python-ecl again, and get the following error messages:

The following packages have unmet dependencies:
 python-ecl : Depends: libert.ecl1 but it is not going to be installed


and


Selecting previously unselected package libert.ecl1.
(Reading database ... 372477 files and directories currently installed.)
Preparing to unpack .../libert.ecl1_2017.04-rfinal-1~xenial_amd64.deb ...
Unpacking libert.ecl1 (2017.04-rfinal-1~xenial) ...
dpkg: error processing archive /var/cache/apt/archives/libert.ecl1_2017.04-rfinal-1~xenial_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/ecl_summary.1.gz', which is also in package libecl1 2017.10-rfinal-1~xenial

I seems like libert.ecl1 has compatibility issues with the libecl installed when installing flow.


Any ideas on how to proceed?


/Carl Fredrik

________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Joakim Hove <joaho at statoil.com>
Sendt: 24. november 2017 10:21
Til: opm at opm-project.org
Emne: Re: [Opm] Problem with installing python-ert.ecl


Hello;


the Resinsight suggestion is probably your best bet for plotting, but the python wrappers can be very convenient for other general tasks, if you are so inclined. I am afraid I can not assist you with the package problem, but installing libecl from source is quite simple:



  1.  git clone https://github.com/Statoil/libecl
  2.  cd libecl
  3.  mkdir build ; cd build
  4.  cmake .. -DCMAKE_INSTALL_PREFIX=/path/install/ecl -DBUILD_PYTHON=ON
  5.  make install
  6.  export PYTHONPATH=/path/to/install/lib/python2.7/site-packages:$PYTHONPATH


Pay very close attention to point 4; make sure that you install in some random non standard location, so that your hand built installation does not conflict with the packaged version


Joakim

________________________________
From: Opm <opm-bounces at opm-project.org> on behalf of Alf Birger Rustad <abir at statoil.com>
Sent: Thursday, November 23, 2017 6:23 PM
To: Чащин Артём; Arne Morten Kvarving; opm at opm-project.org
Subject: Re: [Opm] Problem with installing python-ert.ecl

Hi Artyom,

I am afraid that tutorial needs to be updated. If it was written today it would use Resinsight, since Resinsight now supperts plotting the curves in the summary files. Install resinsight from the packages, and open the case there. Resinsight has excellent online documentation.

Cheers,
Alf
________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Чащин Артём <chashchinartyom at yandex.ru>
Sendt: 23. november 2017 18:15:03
Til: Arne Morten Kvarving; opm at opm-project.org
Emne: Re: [Opm] Problem with installing python-ert.ecl

That doesn't help. I'm getting the same error while installing python-ecl.

23.11.2017, 19:00, "Arne Morten Kvarving" <arne.morten.kvarving at sintef.no>:

outdated instructions. replace python-ert.ecl with python-ecl

________________________________
Fra: Opm <opm-bounces at opm-project.org<mailto:opm-bounces at opm-project.org>> på vegne av Чащин Артём <chashchinartyom at yandex.ru<mailto:chashchinartyom at yandex.ru>>
Sendt: 23. november 2017 16:55:22
Til: opm at opm-project.org<mailto:opm at opm-project.org>
Emne: [Opm] Problem with installing python-ert.ecl

Hello,

I've installed Opm on Ubuntu 16.04 from a binary package and try to run the spe1 tutorial from http://opm-project.org/?page_id=197. Everything worked fine until I got to the installation of python-ert.ecl on page 6 of the tutorial. The command 'sudo apt-get install python-ert.ecl python-numpy python-matplotlib' gives me the following output (I omitted several lines):

...
Selecting previously unselected package libert.ecl1.
Preparing to unpack .../libert.ecl1_2017.04-rfinal-1~xenial_amd64.deb ...
Unpacking libert.ecl1 (2017.04-rfinal-1~xenial) ...
dpkg: error processing archive /var/cache/apt/archives/libert.ecl1_2017.04-rfinal-1~xenial_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/ecl_summary.1.gz', which is also in package libecl1 2017.10-rfinal-1~xenial
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
...
Selecting previously unselected package python-ert.ecl.
Preparing to unpack .../python-ert.ecl_2017.04-rfinal-1~xenial_amd64.deb ...
Unpacking python-ert.ecl (2017.04-rfinal-1~xenial) ...
...
Errors were encountered while processing:
/var/cache/apt/archives/libert.ecl1_2017.04-rfinal-1~xenial_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

After that, any 'apt-get install' command that I run gives me the message:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 python-ert.ecl : Depends: libert.ecl1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

But doing 'apt-get -f install' leads to the same 'subprocess paste was killed by signal (Broken pipe)' error. As a result of all of this, Python can't find the module ecl.ecl and I can't run the summaryplot file. Does anyone know solution to this problem?

Regards,
Artyom
_______________________________________________
Opm mailing list
Opm at opm-project.org<mailto:Opm at opm-project.org>
http://opm-project.org/cgi-bin/mailman/listinfo/opm


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <//opm-project.org/pipermail/opm/attachments/20171222/3888903b/attachment.html>


More information about the Opm mailing list