How can I fix this issue, installing the Google Cloud SDK? - google-cloud-platform

I can't seem to find a way to install the Google cloud platform. I have tried to download from the Eclipse Marketplace, from the web page; and nothing.
After some work, I have reached the point where in the installation terminal, they ask me if I want to UPDATE %PATH% to include CLOUD SK Binaries?
I put yes and this happens:
even though my system variables are:
Please Help

I just tried it installing it in a new windows vm from here and the %PATH% the installation created is not the same as yours. In my case it was
C:\Users\<YOUR_USER>\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin
Are you sure Cloud SDK binaries are in C:\Program Files (x86)\Google\google-cloud-sdk\bin?

Related

Visual Studio - Error: Unable to download installation files

I'm following a nice tutorial on hosting Django on Apache, for that I need to install mod_wsgi using pip. This needs c++ 14.0 or higher .. I've been trying to install visual studio community edition and it's tools using the microsoft installer. However, a bugging error keeps chacing me:
"Unable to download installation files. Check your internet connection and try again"
Now my internet connection is fine, I also did many attempts to restart, and re-download - cmd commands for offline installation and many many attempts.
I need help here as It is driving me crazy!:D can anybody please help?
all the best
Visual Studio - Error: Unable to download installation files
You can try these steps:
First, make sure that you use administrator account to log on to the PC and your Internet can access any websites.
1) delete the Installer folder under C:\Program Files (x86)\Microsoft Visual Studio\
2) Right-click on the vs_xxxxx_xxxx.exe(installer program)-->Properties-->Digital Signatures-->you can see "signature list"-->Select signature and then Click on Details button-->Click on View certificate button--> Click on Install certificate and follows installation wizard.
3) Fire up Run, type gpedit.msc
Brows to the following location: Computer Configuration-->Administrative Templates-->System-->Internet Communication Management-->Internet Communication settings then find the entry Turn off Automatic Root Certificates Update and open her up and set it to Disabled.
4) Get Windows to check for updates and if so, update it.
5) Then run the installer as administrator to install it.
In addition, if you create an offline installation, please use like this:(remember to add --lang en-us)
vs_community.exe --layout C:\vs2019offline --lang en-us
Besides, when you finish it, please install the three certificates as administrator which are in the certificates folder of the offline package and after that, install the installer.
Also, make sure that these certificates are in the trusted folder.

Google Cloud SDK installation fails on Windows 10

When I tried to install Google Cloud SDK, it fails:
Welcome to the Google Cloud SDK!
To use the Google Cloud SDK, you must have Python installed and on your PATH.
As an alternative, you may also set the CLOUDSDK_PYTHON environment variable
to the location of your Python executable.
Google Cloud SDK installer will now exit.
Press any key to continue . . .
I installed Python and copied system32 path in system variable and environment variable even, but still fails. What's going wrong?
I had the same problem some time ago, this is how I solved it:
uninstall cloud sdk (delete also the folder), uninstall python
reboot you system
launch the installer and select "install bundled python"
when the installer asks for an installation path, point to "C:\Users\YOUR_USER\AppData\Roaming\gcloud"
I had a problem with my windows installation since I had different permissions set on the default path suggested which was "Program Files (x86)".
Starting fresh + changing path fixed the issue for me :)
also review this page, to see if everything is in check for you

Blender on IBM Cloud (Cloud Foundry)

I'm currently developing a web application (Django 2.0) application.
My app will be deployed on IBM Cloud (Cloud Foundry) using python build-pack.
One of my requirements is to install blender.
Everything else is very well, but for blender installation.
What I've tried so far was:
I tried access my app using SSH connection, but surely I don't have root access to apt-get install blender!!
And tried to include blender in packages.json file and push that file using cf push my-app.
But nothing worked for me.
In another shorter question: what is the main approach in Cloud Foundry Apps to install packages like when we use apt-get install in Ubuntu / Debian.
Please correct me if I did anything wrong, or guide me with headlines to solve this problem!!
I see a couple options for you to install packages if they cannot be installed using the regular requirements file (which is the preferred way):
Download the relevant libraries and put them in subfolders of the app before pushing it. The libraries will be uploaded. That is how I would do it.
Once you have an SSH connection, use secure copy (scp) to upload the files and place them in the subfolders where they are expected.
Regarding Blender, the question is what you need in addition to having the code copied over. Does it need a running daemon? Are there more dependencies? You would need to share more information about your specific app to answer that. Maybe, packaging everything as one or more containers and run it on Kubernetes or a combination of Cloud Foundry and Kubernetes is a better way.

Can't install Azure Functions and Web Jobs extension

I have been trying to install the Azure Functions and Web Jobs extension, however installation fails. Looking through the error log it appears that the piece that isn't working is this:
Install Error : System.InvalidOperationException: Installation of Azure Functions and Web Jobs Tools failed. To install this extension please install at least one of the following components: Microsoft Azure WebJobs Tools
I think that the problem is that it is looking for itself with the wrong name (Microsoft Azure WebJobs Tools instead of Microsoft Azure Web Jobs Tools). Is there any way to fix this?
Just had the same problem and the error was not very helpful :( Fixed it by installing the Azure Development "workload" from the Visual Studio Installer. After running the installer, you can choose to modify the installation and add this. It will actually come with the extension you're trying to install, oddly enough, but it will not be the latest version of it.
Here is an image which I hope helps:

Ionic can't find ANDROID_HOME on Windows 10

Im using Ionic to build an Android app and I'm finding a problem that I cant work around or find an answer to. When I run ionic build android or ionic emulate android I get the following:
Error: Failed do find 'ANDROID_HOME'...
I believe I have added the correct variables to PATH and ANDROID_HOME under System Variables, but please check: http://imgur.com/a/UOdCd
The first image is ANDROID_HOME, the second shows where the sdk is located, the third is the Error itself and the fourth is my path variable.
I run it from Git Bash. Running as an administrator did not make any difference, I also tried reinstalling Android SDK (with Android Studio) in a different folder (was in %HOME%\AppData\Local\Android\ before) without any difference. Also tried to reboot after reinstalling SDK.
I also tried to run the SDK Manager first (C:\Android\sdk\tools\android.bat) and keeping it open while trying to build or emulate, but it still didn't work.
You need to create a new system variable called ANDROID_HOME and as a value put the path to the android SDK installation directory.
For more information, please refer to the installation guide.