![]() ![]() Please note quotes - they prevent the command interpreter to split by spaces so that the entire /Users/naman/Documents/Ai Assistant/assistant/bin/python becomes one path to the interpreter. Or "/Users/naman/Documents/Ai Assistant/assistant/bin/python" -m pip install speechrecognition Either python -m pip install speechrecognition My advice is to re-install Python and pip into a directory without spaces in its full path.Ī workaround for your current situation is to run python manually. Here is the problem: the OS tries to run /Users/naman/Documents/Ai as the interpreter and failed. The OS takes the first line and split it by spaces. When you execute pip the OS' kernel sees #! and understands it's a script that has to be run with an interpreter. Your pip has this as the first line: #!/Users/naman/Documents/Ai Assistant/assistant/bin/python ![]() Unfortunately that path contains a space and Unix (MacOS X in your case) doesn't like spaces in paths to executable files. ![]() You have Python and pip in /Users/naman/Documents/Ai Assistant/assistant/bin/. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |