hydrogen-launcher icon indicating copy to clipboard operation
hydrogen-launcher copied to clipboard

add configure of virtual envs/conda envs

Open taoluo opened this issue 7 years ago • 1 comments

taoluo avatar Dec 01 '17 17:12 taoluo

An ad hoc solution to launch a PlatformIO IDE Terminal via hydrogen-launcher v1.2.1.

In launchJupyterInPlatformIoTerminal() in "~/.atom/packages/hydrogen-launcher/lib/main.js", comment out a line #99 and insert two new lines as below:

(original)

 98:      } else if (err) {
 99:        atom.notifications.addError(err.message);
100:      } else {

(modified)

 98:      } else if (err) {
 99:        # atom.notifications.addError(err.message);
100:        var command = `jupyter ${jpConsole} --existing ${connectionFile}`;
101:        this.platformIoTerminal.run([command]);
102:      } else {

This works well for me (Windows 10. Python 3.6. Conda envs.).

example

daizutabi avatar Feb 03 '18 22:02 daizutabi