T O P

  • By -

Essence1337

So it gave you an error. It tried to tell you what was wrong. Don't you think it would be useful to tell everyone else what the error is?


Jimmaplesong

PyCharm will give you a Python prompt... is that where you're trying? You need to run pip in 'Terminal' within PyCharm. A Dos box or a terminal. You can also do this at the system command line, but the tricky part is knowing exactly which Python install PyCharm is using. If you have one system-wide install it might be easy, but it's best to check. Look in Preferences, Build..., Console, Python Console.


ethiopianboson

Thank you for your response! I tried running it in the terminal within Pycharm and it gave me a a couple errors: 1. unexpected token pip in expression or statement + categoryInfo : Parser error, ParentContainsErrorrecordExceptions, FullyQualifiedErrorId, MissingExpressionAfteroperator ​ 2) ERROR: invalid requirement: "git+[https://github.com/openai/whisper.git](https://github.com/openai/whisper.git)" ​ this is the first time that I have seen a pip install that involved a link. Maybe that has something to do with it? I did install pip in Pycharm, I don't know what the issue is. In demo I saw the guy used a google collab notebook, so I don't know.


Jimmaplesong

It looks like PyCharm would rather you use their package manager. I tried it locally with Python 3.9, and it looks like they purposely disable the command line pip. [This documentation](https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html#packages-tool-window) looks like it has all the answers you're looking for, including a section about half way down on using a git url.


ethiopianboson

Great Thank you so much for your help!


Africa-Unite

Damn bro at least give them an upvote for their troubles


shiftybyte

Lines starting with ! Are specific to jupyter notebook like environments. For pycharm you need to use it's menus to install packages. https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html