You are not logged in.

#1 2015-02-17 18:16:48

cobbmic
Member
Registered: 2015-02-17
Posts: 4

[SOLVED] ImportError: No module named pygtk

I have installed Dropbox from the AUR. Everything has gone well until I tried to start dropbox. It then says:

Starting Dropbox...
The Dropbox daemon is not installed!
Run "dropbox start -i" to install the daemon"

When I run "dropbox start -i", I get: (I actually run "dropbox-cli start -i," but before I installed dropbox-cli I was having the same problems with the dropbox command:)

Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox-cli", line 1259, in start
     download()
File "/usr/bin/dropbox-cli", line 280, in download
     import pygtk
ImportError: No module named pygtk

From what I've read, this is due to the program expecting python or python2, but  since I have python3 installed, then python links to python3. And pygtk doesn't exist in python3.
This might or might not be the problem. Regardless, I cannot figure out how to fix this problem.

Anyone know how to fix this? I really need to use DropBox.

EDIT: I found an article describing what to install and in what order to fix this.

Last edited by cobbmic (2015-02-17 19:05:32)

Offline

#2 2015-02-17 22:06:56

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED] ImportError: No module named pygtk

Hello. Glad you fixed it.

Please give us at least a link to the "article". For others who are interested in this.
I quickly search beforehand but couldn't find a solution right away.

Thanks!

Edit: wording

Last edited by rebootl (2015-02-17 22:07:31)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#3 2016-03-30 21:51:20

Hargenrader
Member
Registered: 2016-03-30
Posts: 1

Re: [SOLVED] ImportError: No module named pygtk

I ran into a similar problem today when compiling Dropbox and it required python2 but I had python3 installed.

The article here shows you a couple of ways to address programs/scripts that require different versions of python.
https://wiki.archlinux.org/index.php/Python#Python_2

Offline

#4 2016-03-30 22:00:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: [SOLVED] ImportError: No module named pygtk

Welcome to Arch Linux.

Thank you for the relevant link, but be sure to check the age of threads.  I hope the original poster is not looking for an answer a year later..
https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing this old thread


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB