Unanswered
When Launching A Task To Trains Agent, I'M Having Trouble Getting The Imports From Other Files Working Correctly.
For Instance, If My Task Imports A Function From Another File Within The Same Git Repo [
If there a way to do this without manually editing installed packages? I'm trying to create a setup in which others can utilize the same repo and have their venvs be built similarly without having to do much work on their end (i.e. editing the installed packages). As for why it's failing to detect, I'm not sure.from google.cloud import bigquery ImportError: cannot import name 'bigquery' from 'google.cloud' (unknown location)
That's the error I get after the task makes use of the function contained within the other file in the repo. It's a standard import error but since it's able to detect the file in the first place it shouldn't be a problem with the repo structure?
172 Views
0
Answers
4 years ago
one year ago