Sen2Cor 2.4.0 Stand-Alone numpy libraries error on Ubuntu SOLVED

Hello,

I am glad a stand-alone numpy installer is created. Unfortunately I can’t get it to work. I used the stand-alone installer in a docker container based on Ubuntu 16.04. After a successful installation I executed L2A_Process and received an error:

Traceback (most recent call last):
  File "/home/[user]/sen2cor/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 6, in <module>
    from numpy import *
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
    from . import add_newdocs
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/core/__init__.py", line 26, in <module>
    raise ImportError(msg)
ImportError: 
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /home/[user]/.local/lib/python2.7/site-packages/numpy/core/multiarray.so)

It turned out that L2A_process did not searched for the ld-linux-x86-64.so.2 library in /lib/x86_64-linux-gnu/ so I made a softlink to /usr/local/lib

This was successful, but the next problem popped up.

Traceback (most recent call last):
  File "/home/[user]/Sen2Cor-2.4.0-Linux64/lib/python2.7/site-packages/sen2cor/L2A_Process.py", line 6, in <module>
    from numpy import *
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
    from . import add_newdocs
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "/home/[user]/.local/lib/python2.7/site-packages/numpy/core/__init__.py", line 26, in <module>
    raise ImportError(msg)
ImportError: 
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: Error relocating /home/[user]/.local/lib/python2.7/site-packages/numpy/core/multiarray.so: backtrace: symbol not found

After S2A_Process succesfully opened /home/[user]/.local/lib/python2.7/site-packages/numpy/core/../.libs/libgfortran-ed201abd.so.3.0. the error above occured, I have no clue what happens here …glibc version 2.23 is installed which contains backtrace.

Does anyone has an idea how to solve this?

It is solved. It was my own fault.
I installed some packages using pip without using a virtual env. Pip created the /home/[user]/.local/lib/python2.7 directory.