DamnWidget / anaconda

Anaconda turns your Sublime Text 3 in a full featured Python development IDE including autocompletion, code linting, IDE features, autopep8 formating, McCabe complexity checker Vagrant and Docker support for Sublime Text 3 using Jedi, PyFlakes, pep8, MyPy, PyLint, pep257 and McCabe that will never freeze your Sublime Text 3
http://damnwidget.github.io/anaconda/
GNU General Public License v3.0
2.21k stars 260 forks source link

(eval):10: parse error near `^M' #942

Open iris-qq opened 4 months ago

iris-qq commented 4 months ago

Expected Behaviour

windows11 + ohmyzsh + anaconda

Actual Behaviour

conda init zsh

shell will add this code to my .zshrc

if [ -f '/d/Softwares/anaconda3/Scripts/conda.exe' ]; then eval "$('/d/Softwares/anaconda3/Scripts/conda.exe' 'shell.zsh' 'hook')" fi

Steps to Reproduce

➜ ~ conda init no change D:\Softwares\anaconda3\Scripts\conda.exe no change D:\Softwares\anaconda3\Scripts\conda-env.exe no change D:\Softwares\anaconda3\Scripts\conda-script.py no change D:\Softwares\anaconda3\Scripts\conda-env-script.py no change D:\Softwares\anaconda3\condabin\conda.bat no change D:\Softwares\anaconda3\Library\bin\conda.bat no change D:\Softwares\anaconda3\condabin_conda_activate.bat no change D:\Softwares\anaconda3\condabin\rename_tmp.bat no change D:\Softwares\anaconda3\condabin\conda_auto_activate.bat no change D:\Softwares\anaconda3\condabin\conda_hook.bat no change D:\Softwares\anaconda3\Scripts\activate.bat no change D:\Softwares\anaconda3\condabin\activate.bat no change D:\Softwares\anaconda3\condabin\deactivate.bat no change D:\Softwares\anaconda3\Scripts\activate no change D:\Softwares\anaconda3\Scripts\deactivate no change D:\Softwares\anaconda3\etc\profile.d\conda.sh no change D:\Softwares\anaconda3\etc\fish\conf.d\conda.fish no change D:\Softwares\anaconda3\shell\condabin\Conda.psm1 no change D:\Softwares\anaconda3\shell\condabin\conda-hook.ps1 no change D:\Softwares\anaconda3\Lib\site-packages\xontrib\conda.xsh no change D:\Softwares\anaconda3\etc\profile.d\conda.csh no change C:\Users\qiqiang.wang\Documents\WindowsPowerShell\profile.ps1 no change HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun No action taken.

➜ ~ conda activate base

CondaError: Run 'conda init' before 'conda activate'

ST3, Anaconda and OS versions

ST3 Console Logs

Anaconda's JsonServer Logs

Note: Anaconda's JsonServer logs can be found in:

serious-gist commented 1 month ago

Any update on this, I am facing the same issue.