-
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
When MacOS is updated from Homebrew any Python2 YDK application fails #837
Comments
To fix this run the below commands: pip uninstall ydk
export CMAKE_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/
pip install ydk The issue is caused because macOS comes with a default python 2.7 library installed under
|
Need to add update the documentation and add it to Travis run |
The approach above did not work on MacOS virtual machine. sudo pip install virtualenv virtualenvwrapper To activate virtual environment:: source ~/.virtualenvs/ydk_venv/bin/activate This approach is tested and proven to work in Mac VM. But it fails in Travis tests with intermittent segmentation fault. |
The following section was added to ydk-gen and ydk-py documentation:
|
Current Behavior
When MacOS is updated from Homebrew, which is normal and expected behavior, any run of YDK Python2 based application fails with error:
This is known and well documented issue, which has few suggested workaround processes. These solution must be tested on MacOS platform and well documented in YDK documentation along with suggested workaround.
The symptoms and workaround are also documented here.
Steps to Reproduce
Update MacOS from Homebrew using command:
Install ydk and IOS XR bundle:
Copy hello-ydk.py from below and try to run it:
Observe the error.
Your script
Logs
System Information
YDK-0.7.3 + cisco-ios-xr bundle
The text was updated successfully, but these errors were encountered: