Skip to content

Can not install 'stylus': EnvCommandError #4903

@amhndu

Description

@amhndu
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

I can not install stylus with poetry on Linux. (tried on both opensuse and ubuntu). It appears to try installing some macos package and fails. Using regular pip install stylus however works. Also, explicitly adding the source tar.gz link works.

Steps to reproduce:

$ mkdir stylusmvp && cd stylusmvp
$ poetry init -n
$ poetry add stylus

Verbose logs: here

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions