Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create new django project in pycharm: "Remote path not provided"

After creating a python docker container, I want to use it as my interpreter instead of Virtualenv. If I leave it empty it says "Remote path not provided". After typing something you see the warning on the screenshot.

Screenshot:

enter image description here

How can I fix it?

like image 711
B0r1 Avatar asked Apr 06 '19 15:04

B0r1


1 Answers

You can't fix it. It is Jetsbrains domain to fix it. It's a longstanding bug in Pycharm:

https://youtrack.jetbrains.com/issue/PY-28097
https://youtrack.jetbrains.com/issue/PY-31823
https://youtrack.jetbrains.com/issue/PY-33662
https://youtrack.jetbrains.com/issue/PY-24427

You're expected to work around it.

  1. by creating a virtualenv, even though you don't want it, then connecting the docker using other screens after the project is created.
  2. by creating the project by just "open"ing the folder, then attaching the docker via the project dialogs.

One might wonder how, given that you can't use it, the option ever made it into the Create Project dialog, and why it's still there, but since we all work in software, we can surmise the answers for ourselves :-)

like image 51
John Mee Avatar answered Sep 30 '22 13:09

John Mee