Problem with BASH file (bad interpreter: No such file or directory) [closed]












0














Apparently someone changed the bash file paths related to python. Showing these messages:



$ type -a python
bash: type: python: not found


(python 2.7; python 3 & python 3.7 are installed)



$ aws
bash: /home/user/.local/bin/aws: /usr/bin/python: bad interpreter: No such file or directory









share|improve this question









New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as unclear what you're asking by RoVo, Zanna, dessert, guntbert, Eric Carvalho Dec 14 at 23:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2




    what is the output of which python ?
    – RoVo
    Dec 14 at 14:14








  • 1




    What version of Ubuntu are you using? What is the output of type -a python{,2,2.7,3} and file /usr/bin/python{,2,2.7,3} ? (python3 is not totally relevant, but if something's misconfigured, comparing the results could be useful.)
    – wjandrea
    Dec 14 at 14:26








  • 1




    Forgot to mention, welcome to Ask Ubuntu! You can edit your question to add details.
    – wjandrea
    Dec 14 at 15:30
















0














Apparently someone changed the bash file paths related to python. Showing these messages:



$ type -a python
bash: type: python: not found


(python 2.7; python 3 & python 3.7 are installed)



$ aws
bash: /home/user/.local/bin/aws: /usr/bin/python: bad interpreter: No such file or directory









share|improve this question









New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as unclear what you're asking by RoVo, Zanna, dessert, guntbert, Eric Carvalho Dec 14 at 23:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2




    what is the output of which python ?
    – RoVo
    Dec 14 at 14:14








  • 1




    What version of Ubuntu are you using? What is the output of type -a python{,2,2.7,3} and file /usr/bin/python{,2,2.7,3} ? (python3 is not totally relevant, but if something's misconfigured, comparing the results could be useful.)
    – wjandrea
    Dec 14 at 14:26








  • 1




    Forgot to mention, welcome to Ask Ubuntu! You can edit your question to add details.
    – wjandrea
    Dec 14 at 15:30














0












0








0







Apparently someone changed the bash file paths related to python. Showing these messages:



$ type -a python
bash: type: python: not found


(python 2.7; python 3 & python 3.7 are installed)



$ aws
bash: /home/user/.local/bin/aws: /usr/bin/python: bad interpreter: No such file or directory









share|improve this question









New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Apparently someone changed the bash file paths related to python. Showing these messages:



$ type -a python
bash: type: python: not found


(python 2.7; python 3 & python 3.7 are installed)



$ aws
bash: /home/user/.local/bin/aws: /usr/bin/python: bad interpreter: No such file or directory






command-line bash scripts python






share|improve this question









New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Dec 14 at 14:13









steeldriver

65.4k11104176




65.4k11104176






New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Dec 14 at 14:11









Guilherme Mateus de Andrade

1




1




New contributor




Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Guilherme Mateus de Andrade is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




closed as unclear what you're asking by RoVo, Zanna, dessert, guntbert, Eric Carvalho Dec 14 at 23:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by RoVo, Zanna, dessert, guntbert, Eric Carvalho Dec 14 at 23:00


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 2




    what is the output of which python ?
    – RoVo
    Dec 14 at 14:14








  • 1




    What version of Ubuntu are you using? What is the output of type -a python{,2,2.7,3} and file /usr/bin/python{,2,2.7,3} ? (python3 is not totally relevant, but if something's misconfigured, comparing the results could be useful.)
    – wjandrea
    Dec 14 at 14:26








  • 1




    Forgot to mention, welcome to Ask Ubuntu! You can edit your question to add details.
    – wjandrea
    Dec 14 at 15:30














  • 2




    what is the output of which python ?
    – RoVo
    Dec 14 at 14:14








  • 1




    What version of Ubuntu are you using? What is the output of type -a python{,2,2.7,3} and file /usr/bin/python{,2,2.7,3} ? (python3 is not totally relevant, but if something's misconfigured, comparing the results could be useful.)
    – wjandrea
    Dec 14 at 14:26








  • 1




    Forgot to mention, welcome to Ask Ubuntu! You can edit your question to add details.
    – wjandrea
    Dec 14 at 15:30








2




2




what is the output of which python ?
– RoVo
Dec 14 at 14:14






what is the output of which python ?
– RoVo
Dec 14 at 14:14






1




1




What version of Ubuntu are you using? What is the output of type -a python{,2,2.7,3} and file /usr/bin/python{,2,2.7,3} ? (python3 is not totally relevant, but if something's misconfigured, comparing the results could be useful.)
– wjandrea
Dec 14 at 14:26






What version of Ubuntu are you using? What is the output of type -a python{,2,2.7,3} and file /usr/bin/python{,2,2.7,3} ? (python3 is not totally relevant, but if something's misconfigured, comparing the results could be useful.)
– wjandrea
Dec 14 at 14:26






1




1




Forgot to mention, welcome to Ask Ubuntu! You can edit your question to add details.
– wjandrea
Dec 14 at 15:30




Forgot to mention, welcome to Ask Ubuntu! You can edit your question to add details.
– wjandrea
Dec 14 at 15:30















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局