Skip to content

Installing from source fails on stable Debian Linux, error: externally-managed-environment #238

@slrslr

Description

@slrslr

At https://github.com/ZeroNetX/ZeroNet/#install-from-source is command:

sudo python3 -m pip install -r requirements.txt

returns:

error: externally-managed-environment (full output)

one may solve all missing modules except "merkletools, coincurve" by command:
sudo apt install python3-{gevent,greenlet,msgpack,base58,rsa,pyasn1,maxminddb,socks}

But better is likely to use VENV, but is it documented in README?

cd $HOME/zeronet/ && python3 -m venv .venv && source .venv/bin/activate && python3 -m pip install -r requirements.txt && $HOME/zeronet/.venv/bin/python3 $HOME/zeronet/zeronet.py --version

If it can not find required module/s, then you may need to edit .sh file and replace python before zeronet .py path by something like "$HOME/zeronet/.venv/bin/python3 ".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions