-
Notifications
You must be signed in to change notification settings - Fork 159
Different PATH in system Terminal and in Atom Terminal (mac). #703
Comments
Hello @sergei3000! Thank you for reaching out to us with this issue report. So to start clearing things up, you have installed anaconda, right? Also, terminal wise as in the default in macOS, have you added any further plugins to it, if so which?
Ive seen this before in other reports, usually its some 3rd party something interfering, Try to export your paths to
Well have you had these different python versions installed? Once you reply, with the extra information, I'll try to duplicate, with Vanilla OS + Atom + Platformio-ide-terminal + the exact installers you used. I suspect this is related to #426 because the term.js this project uses is unmaintained and no longer suitable for supporting the exact methods the base terminal uses, that said, the large majority of issues is caused by users adding 3rd party programs that interfere and break Atom + Platformio-ide-terminal. Waiting on your feedback. |
hi @the-j0k3r, Yes, I have installed Anaconda distribution. I'm sorry, but I don't remember which exact installer I used. My current Python version is 3.7.2, but I might have upgraded it at some point. My Terminal is default. Following your advice to export paths to My Python version is 3.7.2 in Anaconda, and also I have system Python2 and Python3 outside Anaconda. |
Sadly theres nothing else to be done with this at this time, the bug comes from (and in part) term.js which is an abandoned project and we rely on as a project dependency. To fully solve the bug we need to implement xterm.js with a more robust in project implementation of this to ensure things such as this stick. Thanks you for your understanding. |
Managed to hack it like this in settings: Input into "Shell override": This will take PATH env var out before running zsh (or bash). |
Description
Different PATH for system Terminal and for Atom Terminal.
System:
Atom:
Steps to reproduce
echo $PATH
in system Terminal.echo $PATH
in Atom Terminal.Expected behavior:
Same output - Anaconda paths are in the beginning in both terminals.
Actual behavior:
Different output: Anaconda paths are in the beginning in the system terminal, but they are in the end in Atom's terminal.
Reproduces how often:
100%.
Versions
Atom : 1.38.2
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3
This has different output in different terminals also (see Python version).
System Terminal:
apm 2.1.7
npm 6.2.0
node 8.9.3 x64
atom 1.38.2
python 3.7.2
git 2.20.1
Atom Terminal:
apm 2.1.7
npm 6.2.0
node 8.9.3 x64
atom 1.38.2
python 2.7.10
git 2.20.1
OS name and version: macOS Mojave 10.14.4 (18E226)
Platformio-ide-terminal version: 2.9.1
Additional Information
na
The text was updated successfully, but these errors were encountered: