I was following this article to get rid of
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
and whenever I'd do . ~/.bash_profile
it would result in
-bash: /home/nikhil/.bash_profile: line 1: unexpected EOF while looking for matching `"'
-bash: /home/nikhil/.bash_profile: line 2: syntax error: unexpected end of file
So, I searched askUbuntu and find this and according to one of the solutions provided,
I went to Edit -> Profile Preferences -> Title and Command tab and checked the "Run command as a login shell" option. But now as soon as I open any terminal I get the first two lines as
-bash: /home/nikhil/.bash_profile: line 1: unexpected EOF while looking for matching `"'
-bash: /home/nikhil/.bash_profile: line 2: syntax error: unexpected end of file
and the same if run . ~/.bash_profile
. Please help.
0 Answers