ERPNext Conference 2019* Blog

Error pip install -e bench-repo


i get error when run this command
pip install -e bench-repo

Traceback (most recent call last):

File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 583, in _build_master
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 900, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (pip 19.2.1 (/usr/local/lib/python3.7/site-packages), Requirement.parse(‘pip==19.1.1’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/opt/python/libexec/bin/pip”, line 6, in
from pkg_resources import load_entry_point
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 3241, in
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 3225, in _call_aside
f(*args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 3254, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 585, in _build_master
return cls._build_from_requirements(requires)
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File “/usr/local/lib/python3.7/site-packages/pkg_resources/”, line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘pip==19.1.1’ distribution was not found and is required by the application


Try: pip install update pip , then your original command again.


same error :frowning:


Try: pip3 install update pip
pip3 install -e bench-repo


perhaps try

python -m pip install --user pip==19.1.1