Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (16.4k points)

When I run this below command I'm getting this syntax error:

pip install gTTS File "", line 1 pip install gTTS ^

1 Answer

0 votes
by (26.4k points)

From shell when I tried executing the command, I'm  getting this error saying no module name pip.

So, by using below commands I installed pip.

1. First, Installed pip script $ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py

2. Then, Executing the pip script by running the command 

$ sudo python get-pip.py

3. Finally, Installing the gTTS module

$ sudo pip install gTTS 

To learn more topics related to python? Join Python certification course to gain more knowledge in python.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...