Nbdev_new from GitHub repo gives below error

Cloned the Github Repo and ran nbdev_new. After filling description for settings.ini file I get the below error


File /opt/anaconda3/lib/python3.12/site-packages/pkg_resources/__init__.py:3228, in Distribution.get_entry_map(self, group)
   3226 """Return the entry point map for `group`, or the full entry map"""
   3227 if not hasattr(self, "_ep_map"):
-> 3228     self._ep_map = EntryPoint.parse_map(
   3229         self._get_metadata('entry_points.txt'), self
   3230     )
   3231 if group is not None:
   3232     return self._ep_map.get(group, {})

File /opt/anaconda3/lib/python3.12/site-packages/pkg_resources/__init__.py:2888, in EntryPoint.parse_map(cls, data, dist)
   2886     if group in maps:
   2887         raise ValueError("Duplicate group name", group)
-> 2888     maps[group] = cls.parse_group(group, lines, dist)
   2889 return maps

File /opt/anaconda3/lib/python3.12/site-packages/pkg_resources/__init__.py:2861, in EntryPoint.parse_group(cls, group, lines, dist)
   2859 this: dict[str, Self] = {}
   2860 for line in yield_lines(lines):
-> 2861     ep = cls.parse(line, dist)
   2862     if ep.name in this:
   2863         raise ValueError("Duplicate entry point", group, ep.name)

File /opt/anaconda3/lib/python3.12/site-packages/pkg_resources/__init__.py:2834, in EntryPoint.parse(cls, src, dist)
   2832 if not m:
   2833     msg = "EntryPoint must be in 'name=module:attrs [extras]' format"
-> 2834     raise ValueError(msg, src)
   2835 res = m.groupdict()
   2836 extras = cls._parse_extras(res['extras'])

ValueError: ("EntryPoint must be in 'name=module:attrs [extras]' format", '= ._modidx:d')

Downgrading to Python 3.11 worked

hm, but maybe don’t mix these 2 approaches? when i use the github template from here GitHub - AnswerDotAI/nbdev-template I NEVER need to use nbdev_new. I thought nbdev_new is ONLY when i want to create a new nbdev repo from scratch inside the terminal?

oh and i always use python 3.12 these days, so it’s not that.