Custom_channels Valid types frozendict

I’m trying to create a custom channel. It works with absolute path names in the commandline.
But not with .condarc:

custom_channels: ‘ipms:file://temp/CustomChannel/’

InvalidTypeError: Parameter _custom_channels = 'ipms:C:\\temp\\CustomChannel' declared in C:\Users\netz\.condarc has type str.
Valid types:
  - frozendict

What’s wrong with this?

I would try something like this:

channels:
  - defaults
custom_channels:
  ipms: file:///C:/temp/CustomChannel/

Hi, I tried different ones already. And this is also wrong:

InvalidTypeError: Parameter _custom_channels = 'ipms: file:///C:/temp/CustomChannel/' declared in C:\Users\netz\.condarc has type str.
Valid types:
  - frozendict

Is there a special syntax for the file-url, or is it not possible?

I am not much of a Windows user of conda, but the following discussion may be helpful to get the file path directive correct in your .condarc configuration: