Skip to content
Advertisement

Tag: pycharm

Python different errors when executing in PyCharm and in shell

I’ve worked on my python project in PyCharm. When I’m executing its different files everything goes smoothly. However, when I’m executing the files in shell, it seems like I get errors that I don’t get in the IDE. For example, being a simplified structure of my project: And being a simplified main.py: The execution in PyCharm is clean, while when

Why is $PATH in remote deployment path different from $PATH in remote system?

I’m currently working on Pycharm with remote python Interpreter(miniconda3/bin/python). So when I type echo $PATH in remote server, it prints /home/woosung/bin:/home/woosung/.local/bin:/home/woosung/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin I created project in Pycharm and set remote python Interpreter as miniconda3 python, it works well when I just run some *.py files. But when I typed some os.system() lines, weird things happened. For instance, in test.py from Pycharm

Pycharm – how to turn on autocompletion for non-project files?

I have current version of Pycharm Community Edition 2017.2.4 installed on Linux and on Windows. In the one working on Windows, I open non-project files and while I write code in them, there is autocompletion for in-project modules, classes, etc. On the Linux (Debian) however, when I write code in non-project file , there is autocompletion only for non-project modules.

Advertisement