/usr/local/bin/python3: bad interpreter: No such file or directory for ubuntu 14.04
<p>Hi My python installation is in different directory and i am using a docker image which is mac based and it is referring shebang line as /user/local/bin/python3 from other folder in shell script .</p>

<p>my python installation path</p>

<pre><code>Python 3.4.3 (default, Oct 14 2015, 20:28:29) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import sys
&gt;&gt;&gt; sys.path
['', '/home/myuser/project', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-x86_64-linux-gnu', '/usr/lib/python3.4/lib-dynload', '/usr/local/lib/python3.4/dist-packages', '/usr/lib/python3/dist-packages']
&gt;&gt;&gt; 
</code></pre>

<p>so is  there a way without changing the shebang line i can redirect or link to my installation of python3 to get out of this error. </p>

<p>is it recommended to install python3 in given path. ?</p>

<p>please advice. </p>