TyVik / YaDiskClient

Client for cloud Yandex.Disk
MIT License
61 stars 14 forks source link

install problem on windows 7 #1

Closed BorisIvanov closed 9 years ago

BorisIvanov commented 9 years ago

DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906. Downloading/unpacking YaDiskClient Downloading YaDiskClient-0.3.tar.gz Running setup.py (path:C:\Users\berty\AppData\Local\Temp\pycharm-packaging0.tmp\YaDiskClient\setup.py) egg_info for package YaDiskClient Traceback (most recent call last): File "", line 17, in File "C:\Users\berty\AppData\Local\Temp\pycharm-packaging0.tmp\YaDiskClient\setup.py", line 3, in import YaDiskClient File "C:\Users\berty\AppData\Local\Temp\pycharm-packaging0.tmp\YaDiskClient\YaDiskClientinit.py", line 6, in from YaDiskClient import YaDiskException, YaDisk ImportError: cannot import name 'YaDiskException' Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 17, in

File "C:\Users\berty\AppData\Local\Temp\pycharm-packaging0.tmp\YaDiskClient\setup.py", line 3, in

import YaDiskClient

File "C:\Users\berty\AppData\Local\Temp\pycharm-packaging0.tmp\YaDiskClient\YaDiskClientinit.py", line 6, in

from YaDiskClient import YaDiskException, YaDisk

ImportError: cannot import name 'YaDiskException'

TyVik commented 9 years ago

Hi! Sorry, I have not Windows 7 and cannot solve this problem in near days :( Can you try edit init.py such as:

from .YaDiskClient import YaDiskException, YaDisk

and tell me about results?

BorisIvanov commented 9 years ago

yes, worked

TyVik commented 9 years ago

Fix and update pip package.