Skip to content

install() got an unexpected keyword argument 'root_prefix' #480

@alessioarena

Description

@alessioarena

I'm trying to build my first distribution using conda constructor, but I'm having issues adding the menu items of a package I developed.

When installing I get the following error
image

I tried to debug it but I am failing to understand where to look at.
It seems that line 130 in _nsis.py is calling menuinst.install. I then checked the installed version of menuinst as part of the deployment, and this is the last version available (1.4.18) and the install function indeed has a root_prefix keyword.

I also checked every other conda environment I have installed in my development machine and they all have the latest menuinst version.

So, then the questions are:

  • How should I exactly reproduce that menu creation step after the installation?
  • Is constructor somehow using an embedded version of menuinst? Is this out of date?

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked[bot] locked due to inactivity

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions