microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.61k stars 29.03k forks source link

Terminal .zprofile:export:4: not valid in this context: PATH^M #201934

Closed jegregorio2 closed 9 months ago

jegregorio2 commented 9 months ago

Type: Performance Issue

I have trouble with Python and its PATH. Terminal .zprofile:export:4: not valid in this context: PATH^M

VS Code version: Code 1.85.0 (Universal) (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T18:18:04.614Z) OS version: Darwin arm64 23.1.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 2, 2| |Memory (System)|8.00GB (0.22GB free)| |Process Argv|--crash-reporter-id 2c90e0f7-46f7-4ca5-b4ce-bebd22b0debc| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 60 156 12888 code main 0 66 12891 gpu-process 0 33 12892 utility-network-service 1 74 12911 shared-process 0 0 13239 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 49 12927 ptyHost 0 0 13205 /bin/zsh -il 0 172 13199 window [5] (Welcome) 0 41 13200 fileWatcher [5] 0 66 13201 extensionHost [5] 0 98 13237 window [6] (Issue Reporter) ```
Workspace Info ``` ; ```
Extensions (22) Extension|Author (truncated)|Version ---|---|--- codesnap|adp|1.3.4 vscode-color|ans|0.4.5 change-color-format|bbu|1.2.0 vscode-eslint|dba|2.4.2 vscode-pull-request-github|Git|0.79.2023122012 live-sass|gle|6.1.2 vscode-lebab|jer|1.1.0 vs-color-picker|lih|1.0.0 isort|ms-|2023.10.1 python|ms-|2023.22.1 vscode-pylance|ms-|2023.12.1 jupyter|ms-|2023.11.1003402403 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 sublime-keybindings|ms-|4.0.10 vetur|oct|0.37.3 LiveServer|rit|5.7.9 codegpt3|tim|1.1.2 vscode-icons|vsc|12.6.0 markdown-all-in-one|yzh|3.5.1
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vshan820:30294714 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 py29gd2263:30899288 vsclangdc:30486549 c4g48928:30535728 azure-dev_surveyone:30548225 f6dab269:30613381 a9j8j154:30646983 pythongtdpath:30769146 i26e3531:30792625 welcomedialog:30910333 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2cf:30928864 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 dsvsc019cf:30917260 cp7184t3:30927821 ```
vscodenpa commented 9 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

vscodenpa commented 9 months ago

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.

Happy Coding!