I have many versions of
Python 3.5.1 (default, Mar 1 2016, 10:49:42)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
pip3.5 --no-cache-dir install -U ...
$ pip3 --no-cache-dir install -U trin-py3-none-any.whl
-bash: /home/bli1/py/python3.5/bin/pip3: /home/sys_bio_ctgcs/sthe-admin/python3.5/bin/python3.5: bad interpreter: No such file or directory
It seems like you've copied Python binaries from another machine.
Python script endpoints contains shebangs that points to interpreter version which should be used by given script.
You may verify shebang used by
pip3.5 those by running
cat $(which pip3.5) in shell. If path to binary in first line does not match path to your interpreter, installation is broken. You may possibly fix it by updating all of bash scripts and changing shebang paths in them.
Sample from my machine:
mac-mini:~ rogalski$ cat $(which pip3.5) #!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv) sys.exit(main()) mac-mini:~ rogalski$
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 should point to valid interpreter. In your case it seems it does not.