Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pr fix sai_thrift import error (#639)
Fixing below error ``` /usr/local/lib/python3.9/dist-packages/saichallenger/common/sai_client/sai_thrift_client/sai_thrift_client.py:8: in <module> from saichallenger.common.sai_client.sai_thrift_client.sai_thrift_utils import * _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ import re from itertools import zip_longest import ipaddress import json > from sai_thrift import sai_headers E ModuleNotFoundError: No module named 'sai_thrift' ``` "**python3 setup.py install**" CHANGED to "**pip3 install .**" in Dockerfile.saichallenger-client. **python3 setup.py install** , installs files in /usr/lib/python3.9/**site-packages**/ which is not in sys.path **pip3 install .** , installs filesin /usr/local/lib/python3.9/**dist-packages**/ which is in sys.apth
- Loading branch information