mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
added check for ipython or jupyter on server start
This commit is contained in:
@@ -271,7 +271,8 @@ public final class IpnbConnectionManager implements ProjectComponent {
|
||||
}
|
||||
try {
|
||||
final PyPackage ipythonPackage = PyPackageManager.getInstance(sdk).findPackage("ipython", false);
|
||||
if (ipythonPackage == null) {
|
||||
final PyPackage jupyterPackage = PyPackageManager.getInstance(sdk).findPackage("jupyter", false);
|
||||
if (ipythonPackage == null && jupyterPackage == null) {
|
||||
showWarning(fileEditor, "Add Jupyter to the interpreter of the current project.", null);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user