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

Possible problem with PIP >= 6.0 #123

Closed Kenarso closed 9 years ago

Kenarso commented 9 years ago

I use Elementary OS. First I had install pip manually. After that I want to install onderive-d with "install.sh" and get follow error:

Traceback (most recent call last): File "setup.py", line 14, in requirements = [str(r.req) for r in requirements] File "setup.py", line 14, in requirements = [str(r.req) for r in requirements] File "/usr/local/lib/python3.2/dist-packages/pip/req/req_file.py", line 19, in parse_requirements "parse_requirements() missing 1 required keyword argument: " TypeError: parse_requirements() missing 1 required keyword argument: 'session'

I don't know what can I do.

xybu commented 9 years ago

duplicate #118

Kenarso commented 9 years ago

I done it but I get the same error

xybu commented 9 years ago

In setup.py, deleting the lines

requirements = parse_requirements('requirements.txt')
requirements = [str(r.req) for r in requirements]

and changing the line

install_requires=requirements,

to

install_requires = ['requests', 'urllib3', 'certifi', 'send2trash'],

I forgot to mention the requirement= lines are also needed to be deleted.

xybu commented 9 years ago

I have made the changes in future-daemon branch. You could check it out and see how things go. If okay we can merge it with future branch.

Kenarso commented 9 years ago

OK, it works fine! Thx, great job!