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

Multi tool use
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
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.
add a comment |
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
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 ofwhich python
?
– RoVo
Dec 14 at 14:14
1
What version of Ubuntu are you using? What is the output oftype -a python{,2,2.7,3}
andfile /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
add a comment |
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
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
command-line bash scripts python
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.
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 ofwhich python
?
– RoVo
Dec 14 at 14:14
1
What version of Ubuntu are you using? What is the output oftype -a python{,2,2.7,3}
andfile /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
add a comment |
2
what is the output ofwhich python
?
– RoVo
Dec 14 at 14:14
1
What version of Ubuntu are you using? What is the output oftype -a python{,2,2.7,3}
andfile /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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
QDoJOZNG H,HCq85FqV0Grkb3O SPhs,P yPyyEviV
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}
andfile /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