Search code examples
pythonpython-3.xpippycharm

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


Solution

  • 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