I am trying to understand the proper way to go about solving an issue.
Background: I have Anaconda installed with the default python 3.7.7
Ubuntu 20.04 LTS
I am trying to run a program with python 3.6.8. So I made a conda environment and installed python 3.6.8.
The problem runs that in their install instructions they require making links in /usr/lib for instance like below:
sudo ln -s $HOME/miniconda3/lib/libpython3.6m.so /usr/lib/libpython3.6m.so
This doesn't seem like the best way to do so, though because it breaks the encapsulation of a conda environment.
What is the correct way to add libraries so that they work correctly with a conda environment?
Edit:
A comment below led me to : https://stackoverflow.com/questions/46826497/conda-set-ld-library-path-for-env-only
Which seems a better solution than linking the library manually.
libpython3.6-dev
in the conda env?