skip to Main Content

Please how can I change permissions in GCP debian VM. I have this error permission denied [Errno 13] Permission denied: '/root/google_vm_config.lock'

I'm running miniconda on GCP debian DeepLearning VM. I'm basically trying to run this: embed_model = HuggingFaceEmbeddings( model_name=embed_model_id, model_kwargs={'device': device}, encode_kwargs={'device': device, 'batch_size': 32} ) and have this error: permission denied [Errno 13] Permission denied: '/root/google_vm_config.lock' google my ass out.…

VIEW QUESTION

How to debug Google APIs Client Library for PHP error ACCESS_TOKEN_SCOPE_INSUFFICIENT

We're using Google APIs Client Library for PHP (https://github.com/googleapis/google-api-php-client) using authentication with Service Accounts. The code is putenv('GOOGLE_APPLICATION_CREDENTIALS=' . $google_api_key_file_path); $client = new Google_Client(); $client->setApplicationName('Google Translate API'); $client->useApplicationDefaultCredentials(); $client->addScope(Google_Service_Translate::CLOUD_TRANSLATION); $service = new Google_Service_Translate($client); $projects = $service->projects; $postbody = new Google_Service_Translate_TranslateTextRequest();…

VIEW QUESTION
Back To Top
Search