Skip to content

Installation issue in Ubuntu 20.04.3 LTS #32

@chandukec

Description

@chandukec

Hello,
I am trying to install this feature in OpenFOAM v 1906 in Ubuntu 20.04.3 LTS, I am facing the following issues:

  1. Using pip install -r requirements.txt, I am getting the following error:
ERROR: spyder 3.3.6 requires pyqt5<5.13; python_version >= "3", which is not installed.
ERROR: spyder 3.3.6 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
ERROR: astroid 2.3.1 requires typed-ast<1.5,>=1.4.0; implementation_name == "cpython" and python_version < "3.8", which is not installed.
ERROR: astroid 2.3.1 has requirement six==1.12, but you'll have six 1.14.0 which is incompatible.
Installing collected packages: terminado, notebook, opt-einsum, protobuf, pybind11, pydot, pydotplus, qtconsole, scipy, scikit-learn, sklearn, Werkzeug, tensorboard, wrapt, termcolor, tensorflow-estimator, tensorflow
  Found existing installation: terminado 0.8.2
ERROR: Cannot uninstall 'terminado'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Could I use coanda install -r requirements.txt to rectify this issue, I am using Python 3.7.4 while coanda environment on.
2. At the end of step 2, during compiling using: g++ hello_tf.cpp -ltensorflow, getting the error:

/usr/bin/ld: /usr/local/lib/libtensorflow.so: .dynsym local symbol at index 1603 (>= sh_info of 1)
/usr/bin/ld: /usr/local/lib/libtensorflow.so: .dynsym local symbol at index 2710 (>= sh_info of 1)
/usr/bin/ld: /usr/local/lib/libtensorflow.so: .dynsym local symbol at index 2711 (>= sh_info of 1)

But while executing giving me the output: Hello from TensorFlow C library version 1.15.0

  1. In running the step 1 of ML_RANS: python ML_Model.py gives me error:
Traceback (most recent call last):
  File "ML_Model.py", line 5, in <module>
    import tensorflow as tf

Could you please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions