Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to install subitem python interpreter in pycharm?


Asked by Addyson Leblanc on Dec 10, 2021 FAQ



Go to PyCharm menu and choose Preferences… On the left side find Project (with the name of the project you are working on) and choose subitem Python Interpreter. Press the little plus-sign in the bottom of the window and an install will show. Write opencv-python in the window that opens and press Install
Next,
In the popup window, click Project —> Project Interpreter menu item at left panel. Then you can see there are no Project Interpreter that has been selected in right panel. Click the Project Interpreter drop down list in right panel, then click Show All… item, it will popup a dialog. There is a default PyCharm python interpreter in the dialog.
Also, When PyCharm stops supporting any of the outdated Python versions, the corresponding Python interpreter is marked as unsupported. Press Ctrl+Alt+S to open IDE settings and select Project <project name> | Python Interpreter. Expand the list of the available interpreters and click the Show All link.
In respect to this,
Go to "Settings->Project->Python Interpreter" (same place as VictorLegros went, but the UI is different now: note the + button at the bottom of the list of packages) Hit the + button, search for your package in the new dialog and then click "Install Package"
Accordingly,
In the Python Interpreter page of the project settings, click button. In the list, click Show all.... The available interpreters show up in the Python Interpreters dialog. Select the desired interpreter. In the toolbar of the Python interpreters dialog, click the button .