Odoo Installtion In Google Compute Engine - Python 3 dependencies not installed

672 views
Skip to first unread message

Dhandapani Sattanathan

unread,
Feb 5, 2019, 8:47:40 AM2/5/19
to gce-discussion
I want to install Odoo in my existing google compute engine VM instance. Odoo server not started in GCE. So I asked help in this below SO link.



Python 3 dependencies not installed in My GCE VM instances.

these are the dependencies

sudo apt-get install python-dateutil python-feedparser python-gdata python-ldap
Reading package lists... Done
Building dependency tree      
Reading state information... Done
python
-feedparser is already the newest version.
python
-dateutil is already the newest version.
python
-dateutil set to manually installed.
python
-ldap is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 odoo
: Depends: init-system-helpers (>= 1.18~) but it is not going to be installed
       
Depends: python3-babel but it is not installable
       
Depends: python3-dateutil but it is not going to be installed        
       
Depends: python3-decorator but it is not going to be installed
       
Depends: python3-docutils but it is not going to be installed
       
Depends: python3-feedparser but it is not installable
       
Depends: python3-gevent but it is not installable
       
Depends: python3-html2text but it is not going to be installed
       
Depends: python3-jinja2 but it is not going to be installed
       
Depends: python3-lxml but it is not going to be installed
       
Depends: python3-mako but it is not going to be installed
       
Depends: python3-mock but it is not going to be installed
       
Depends: python3-ofxparse but it is not installable
       
Depends: python3-passlib but it is not installable
       
Depends: python3-pil but it is not installable
       
Depends: python3-psutil but it is not installable
       
Depends: python3-psycopg2 but it is not going to be installed
       
Depends: python3-pydot but it is not installable
       
Depends: python3-pyparsing but it is not going to be installed
       
Depends: python3-pypdf2 but it is not installable
       
Depends: python3-reportlab but it is not installable
       
Depends: python3-requests but it is not going to be installed
 
Depends: python3-serial but it is not going to be installed
       
Depends: python3-tz but it is not going to be installed
       
Depends: python3-usb but it is not installable
       
Depends: python3-vatnumber but it is not installable
       
Depends: python3-werkzeug but it is not installable
       
Depends: python3-xlsxwriter but it is not installable
       
Depends: python3:any (>= 3.3.2-2~) but it is not installable
       
Depends: python3-chardet but it is not going to be installed
       
Depends: python3-libsass but it is not installable
       
Depends: python3-suds but it is not installable
       
Recommends: python3-pyldap but it is not installable
       
Recommends: python3-qrcode but it is not installable
       
Recommends: python3-vobject but it is not installable
E
: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

My Debian version details

Distributor ID: Debian
Description:    Debian GNU/Linux 7.11 (wheezy)
Release:        7.11
Codename:       wheezy

Why python3 not installed in My VM instance? Will it support python 3 in GCE?

Plz help me to solve this.

Thanks & Regards,
SN

Dhandapani Sattanathan

unread,
Feb 6, 2019, 11:48:27 PM2/6/19
to gce-discussion
Hi Google, 

Could you help me, Why python 3 not installed in Google Compute engine VM instance running Debian 7?

Jason

unread,
Feb 12, 2019, 8:12:33 PM2/12/19
to gce-discussion
Hi,

You can run the following commands to update and upgrade the applications currently running within the GCE instance:

$sudo apt-get update
$sudo apt-get -y upgrade

When it is upgrading the applications, you might get a message asking you to update grub, do not allow this. If this happens, choose "Keep Local settings". It will then ask you to choose a disk, so just choose the default disk. After this, it will inform you that you are not upgrading or installing Grub and basically if you would like to continue anyway, choose yes. I know of this process as I tested it myself. 

Once all applications are done upgrading, run the following command:

$python 3 -V

The output should show you something like "3.x.x" as the current python version running within the VM instance.

Dhandapani Sattanathan

unread,
Feb 14, 2019, 2:45:39 AM2/14/19
to gce-discussion
Thanks, Jason,

I remove all python related software in  Debian. and then tried Python 3. Now Installed successfully.
Thanks for your reply 
Reply all
Reply to author
Forward
0 new messages