root issue is in new version of pip there is no disutils_scheme so the following line never works:
location = locations.distutils_scheme('pyang')
The replacement is locations.get_scheme(), however, I found this does not work when pyang is installed with --user.
Instead, I suggest just trying several of the common possible install paths, including the home directory to handle the case when installing with --user.
root issue is in new version of pip there is no disutils_scheme so the following line never works: location = locations.distutils_scheme('pyang')
The replacement is locations.get_scheme(), however, I found this does not work when pyang is installed with --user.
Instead, I suggest just trying several of the common possible install paths, including the home directory to handle the case when installing with --user.