Getting this error when trying to pip install.
(ydk-py) xxxx:~/Desktop/ydk-py-master/core$ pip install dist/ydk-0.5.2.tar.gz
Collecting ecdsa==0.13 (from ydk==0.5.2)
Retrying (Retry(total=4, connect=None, read-None, redirect=None__ after connection broken by 'NewConnectionError('<pip._vendor-requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fec10037b50>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/ecdsa/
[attempts 3,2,1 ommited]
- Could not find a version that satisfies the requirement ecdsa==0.13 (from ydk==0.5.2) (from versions: )
- No matching distribution found for ecdsa==0.13 (from ydk==0.5.2)
- Manually loaded the ecdsa wheel and this is showing on the pip list for the non virtualized env.
- The virtualized pip only shows three packages and the ecdsa is not one of them.
The YDK ultimately has many more dependencies than the few top-level ones listed. If you need to install in a standalone environment, you would be better off first installing in a connected environment (again into a virtualenv), and, after that, use pip freeze to identify ALL dependencies, and then ensure that you have them available for installation.
Just picking up some data from another thread, YDK 0.5.1 had these dependencies:
- on the pip install had to use --no-index -f [path to wheels, etc.] in order to install locally. Through another hurdle.
Is this query part of the same issue reported at help with failed ydk core install / compilation ?
This was resolved with manual whl installations.
Please sign in to leave a comment.