Solved by kmkurn in post #5 
              
              
                I finally solved the issue. The cause is two-fold: 

The correct conda library path is $HOME/miniconda/envs/some_env/lib because I created a virtual env named some_env for everything. So, I needed to add export LD_LIBRARY_PATH="$HOME/miniconda/envs/some_env/lib:$LD_LIBRARY_PATH.
cudatoolkit was in f…