No module named fts while executing sample/client.py
Closed this issue · 4 comments
While running the final step i.e. python sample/client
in Quickstart, I am getting following error.
Traceback (most recent call last): File "sample/client.py", line 19, in <module> import fts.protos.service_pb2_grpc ModuleNotFoundError: No module named 'fts'
Tried to find solution from protobuf/issues/1491, but failed finding a solution.
make sure that the fts package has been installed in the previous instruction:
python3 setup.py install
you can use pip list | grep fts
Yes, the problem is due to fts not getting installed.
It gave warning of setup.py install is deprecated, so I installed setuptools==58.2.0 as it was a quickfix. Then executing
python3 setup.py install
creates fts/protos
├── fts
├── init.py
├── main.py
│ ├── protos
│ │ ├── init.py
│ │ ├── model_pb2_grpc.py
│ │ ├── model_pb2.py
│ │ ├── service_pb2_grpc.py
│ │ └── service_pb2.py
│ ├── pycache
│ │ └── init.cpython-36.pyc
But there is no output while I execute.
pip list | grep fts
Can you pull the latest changes in master and try again to install this package with pip3 install .
?
That was quick, thank a lot.