pycharm's remote server problem

Because the python environment of my own pycharm uses a remote server, this can ensure that no matter which computer the code is written on, the python environment is the same, eliminating the problem of the python version library.

But recently, in the process of using it, I found a problem. That is, I create a new python file (such as .ipynb), which involves reading data files. Because I have set up "automatic synchronization" between the local and remote servers, I also went to the remote server to see that the code and data files are indeed on the server. But when running the code, it kept reporting an error saying that the file could not be found.

This problem, I feel like a bug in pycharm, as long as you restart pycharm, there will be no problem.

Configure the remote server: Tools--"Deployment-->Configuration

8439aa925f3ebfdcdc636b2630741dcc.png

Guess you like

Origin blog.csdn.net/ISWZY/article/details/127900883