Re: Importing dependencies of Python Pipeline

2021-09-25 Thread Jan Lukavský
Hi Robert, -dev , as this seems to be really related to improper use. Thanks for the pointer (I somehow missed this in the docs), I tried --save_main_session, but without luck. When adding the flag, the serialization fails with RecursionError: maximum recursion d

Re: Importing dependencies of Python Pipeline

2021-09-24 Thread Jan Lukavský
+dev I hit very similar issue even with standard module (math). No matter where I put the import statement (even one line preceding the use), the module cannot be found and causes NameError: name 'math' is not defined I therefore think, that the --setup_file wor

Re: Importing dependencies of Python Pipeline

2021-09-23 Thread Jan Lukavský
Oops, sorry, the illustration of the three files is wrong. It was meant to be src/  | script.py  | service_pb2.py  | service_pb2_grpc.py The three files are in the same directory. On 9/23/21 3:08 PM, Jan Lukavský wrote: Hi, I'm facing issues importing dependencies of my Pyt

Importing dependencies of Python Pipeline

2021-09-23 Thread Jan Lukavský
Hi, I'm facing issues importing dependencies of my Python Pipeline. I intend to use gRPC to communicate with remote RPC service, hence I have the following project structure: script.py     | service_pb2.py     | service_pb2_grpc.py I created setup.py with something like setup(name