You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text/main/packages/venvAndPycharm/venvAndPycharm.tex
+15-1
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,21 @@
118
118
A popup menu appears, in which we click on \menu{Run \inSQuotes{numpy\_user.py}}.
119
119
We could just as well have pressed \keys{\ctrl+\shift+F10}.
120
120
Our program is executed and the expected output appears (\cref{fig:venvPycharm8}).
121
-
All is well.%
121
+
All is well.
122
+
123
+
However, it must be understood that the support for \pglspl{virtualEnvironment} and requirements files in \pycharm\ is for \emph{software development}.
124
+
If you want to actually use the software you have developed, you should \emph{always} use the command line and \pglspl{terminal}, as discussed in \cref{sec:pipAndVenv}.
125
+
\pycharm\ is not a runtime environment for the deployment of productive code.
126
+
It is an \acrfull{IDE} for developing programs.%
127
+
%
128
+
\bestPractice{noPycharmForProductive}{%
129
+
\pycharm\ must \textbf{never} be used for running an application in a productive setting. %
130
+
It is \emph{only} to be used as \pgls{IDE} for software development. %
131
+
For actually executing programs, always use a \pglspl{virtualEnvironment} in the \pgls{terminal} as introduced in \cref{sec:pipAndVenv}.%
132
+
}%
133
+
%
134
+
This holds also and especially for scenarios where we do use \python\ for scientific experiments.
135
+
It is an even worse idea to try to run multiple concurrent instances of a program in a \pycharm\ window or to have multiple \pycharm\ instances open to run multiple applications in parallel.%
0 commit comments