CondaPkg.jl icon indicating copy to clipboard operation
CondaPkg.jl copied to clipboard

ERROR: syntax: extra token "activate" after end of expression

Open cossio opened this issue 2 years ago • 2 comments

Getting this error when I open the integrated REPL in vscode (using the Julia extension):

conda activate .CondaPkg/env
ERROR: syntax: extra token "activate" after end of expression

It seems CondaPkg is trying to activate the conda environment, automatically, but fails. This is a project that has a CondaPkg as dependency.

But something seems to be going wrong here. Not sure if the fault is with the vscode extension, or is something CondaPkg.jl specific?

cossio avatar Jan 27 '23 14:01 cossio

I have the same issue. CondaPkg isn't doing that, I think it's VSCode for some reason - but I've never worked out why.

It's a mystery. I've never looked into it much, since it's just a mild annoyance in the Julia REPL.

Any clues would be much appreciated!

cjdoris avatar Jan 27 '23 16:01 cjdoris

cf. https://github.com/julia-vscode/julia-vscode/issues/1901

cossio avatar Jan 27 '23 23:01 cossio