Skip to content

How to deal with pep-0668 / externally-managed-environment #12

@SimonFischer04

Description

@SimonFischer04

Running npm run npip -- install toposort I get the usual externally-managed-environment error.

First thought:

Python (recently) enforced using Virtual Environments (on most Linux distros at least). Some links:

How should this project dealt with that?

I don't know if it's in scope of the project to create a virtual environment since the readme explicitly states "alternative to a python virtual environment", but what would be the alternative? This package being completely broken on recent python versions?


After looking into this a bit more:
Isn't that kind of an false-alarm? (As I understand it) this project's whole goal is to create a local python_modules directory and a nopy python wrapper using that directory (so basically re-creating what a venv would do)?
Then this should be suppressed somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions