xybu / onedrive-d-old

Microsoft OneDrive client on Linux.
http://xybu.me/projects/onedrive-d/
GNU Lesser General Public License v3.0
820 stars 143 forks source link

ImportError: cannot import name timezone #176

Closed rizasif closed 9 years ago

rizasif commented 9 years ago

Hi I am using Ubuntu 15.04 I am stuck at the pref part and the same error pops up when I try to start onedrive-d

$ onedrive-pref Traceback (most recent call last): File "/usr/bin/onedrive-pref", line 9, in load_entry_point('onedrive-d==1.1.0.dev0', 'console_scripts', 'onedrive-pref')() File "build/bdist.linux-x86_64/egg/onedrive_d/od_pref.py", line 28, in main File "build/bdist.linux-x86_64/egg/onedrive_d/od_pref_cli.py", line 10, in File "build/bdist.linux-x86_64/egg/onedrive_d/od_glob.py", line 13, in ImportError: cannot import name timezone

xybu commented 9 years ago

Were you using python2?

rizasif commented 9 years ago

Yea I was but python3 is giving error "No module named 'setuptools'"

rizasif commented 9 years ago

I got the it solved by installing through sudo ./install.sh