Avatar ·

PyCharm, remote project and environment.

📁 question, example, django, bots, AI, project

Good time of the day.

I have a remote project on Django. I set up PyCharm to work with it via SFTP. In this case, changes to files are reflected on the server (copied when changed).

The question is: how can I read the environment from the server and run the project also on the server?

For example, the server has a module that is not installed on the local machine. How can I make it so that for this module there is autocompletion of code and it doesn't complain about it? Is it possible to make PyCharm think that it is on the server, and not on my machine? Since currently SFTP only syncs the code automatically.

Thank you.