<p>I want to install several private python packages when I create an instance (AI platform).</p>
<p>I had the following startup script but it did not install what I needed (but also didnt show any errors):</p>
<p>startup_script.sh:</p>
<p><code>pip install my_custom_libraries</code></p>
<p>why does it not work and what do I need to do to make it work?</p>

<p>you check the start up script logs at :</p>
<pre><code>Compute Engine &gt; (Your Instance Name) &gt; Logs &gt; Serial port 1 (console)
</code></pre>
<p>also, I am not sure your install have by default python and pip installed ?</p>
<p>startup_script.sh:</p>
<pre><code>#! /bin/bash
apt-get update
apt-get install -yq git python python-pip
pip install --upgrade pip virtualenv
pip install my_custom_libraries
</code></pre>
<p>check your python and pip set at the proper path</p>
