Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm giving error while setting up interpreter: no such option: --python

I am trying to create a project in Pycharm and I am getting this error when I use New Environment Using Pipenv, I do think there is no --python options in Pip3, so how do I bypass this in PyCharm and set up my project

enter image description here enter image description here

like image 863
Ujju Avatar asked Oct 27 '25 10:10

Ujju


2 Answers

Pipenv is different from pip, and you'd have to install Pipenv separately, then point Pycharm at it

https://pipenv.kennethreitz.org/en/latest/install/#installing-pipenv

How to setup pipenv in Pycharm is documented here

https://www.jetbrains.com/help/pycharm/pipenv.html

Otherwise, you should chose an option other than Pipenv

like image 195
OneCricketeer Avatar answered Oct 30 '25 01:10

OneCricketeer


pip is package-management system for python. I think what you looking for is to set up a new interpreter/venv

That can be achieved by hitting that button highlighted in the photo

enter image description here

like image 43
Terchila Marian Avatar answered Oct 30 '25 00:10

Terchila Marian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!