Open ghost opened 5 years ago
I do see a log that has been created vscode_inst.py.log
.
ERROR:vscode_inst:isSupported
Traceback (most recent call last):
File "/home/user/Documents/anaconda3/pkgs/vscode_inst.py", line 135, in isSupported
_distro_min_ver = DISTRO_MAP[DISTRO_NAME]
KeyError: ''
Thoughts @nehaljwani ?
@PyroclasticMayhem What's the output for: conda info | grep user-agent
?
@nehaljwani user-agent : conda/4.6.2 requests/2.21.0 CPython/3.7.1 Linux/4.20.2-1-default opensuse-tumbleweed/20190201 glibc/2.27
Hmm... there is a try/except missing in the code. The install file only supports the following, as of now:
'rhel' >= '7',
'sles' >='12',
'centos' >='7',
'debian' >='8',
'fedora' >='23',
'suse' >='42.1',
'ubuntu' >='14.04'
The same error appears to me when I run anaconda-navigator on the command line, with:
OS: openSuse Leap 15.1
Kernel version: 4.12.14-lp151.28.10-default
Anaconda installed: Anaconda3-2019.07-Linux-x86_64.sh
Actual Behavior
No option to install VS Code was given when running
Anaconda3-2018.12-Linux-x86_64.sh
. There is also no VS Code tile in Anaconda Navigator withERROR anaconda_api.is_vscode_available:1064
appearing.Expected Behavior
Prompt when running
Anaconda3-2018.12-Linux-x86_64.sh
to install VS Code. Tile to install VS Code in Anaconda Navigator.Steps to Reproduce
./Anaconda3-2018.12-Linux-x86_64.sh
and run through installanaconda-navigator
Running
conda update
for conda, anaconda-navigator, navigator-updater did not solve the issue.Anaconda or Miniconda version:
4.6.2
Operating System:
openSUSE Tumbleweed
conda info
conda list --show-channel-urls