-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ydk installation issues on some CentOS environments #518
Comments
Currently, there is a need to rebuild python library on some CentOS environments with |
Couple of troubleshooting workarounds for CentOS:You may face the below issues when doing something like 1) python installation does not have shared librariesYou may see something like the below error:
To fix this, you need to compile the python installation with the --enable-shared option as follows (steps obtained from google search):
2) cmake cannot find the correct python install location
To fix this, please set the below environment variables before running 'pip install ...'
3) If facing issues with ydk installation in /usr/lib64 vs /usr/lib
$ sudo easy_install -v --install-dir="/usr/lib64/python2.7/site-packages" ydk-models-ietf
$ sudo easy_install -v --install-dir="/usr/lib64/python2.7/site-packages" ydk-models-openconfig
$ sudo easy_install -v --install-dir="/usr/lib64/python2.7/site-packages" ydk-models-cisco-ios-xr |
devtools-4 are no longer available on centos 7. Using default compiler gave me this error when importing ydk.services: furthermore, --install-purelib option does not work with recent pip versions Here's what worked for me: pip3 install --target="/usr/local/lib64/python3.6/site-packages" --no-deps ydk-models-ietf ydk-models-openconfig ydk-models-cisco-ios-xr ydk-models-cisco-ios-xe --upgrade |
ydk 0.6.0
installation for core so that cmake3 or cmake is used without having to link the binaryThe text was updated successfully, but these errors were encountered: