watchforstock / evohome-client

Python client to access the Evohome web service
Apache License 2.0
88 stars 52 forks source link

Installer problem #7

Closed wardienet closed 9 years ago

wardienet commented 9 years ago

Hi Andrew - great concept, just trying to get it loaded into OS X to try out. I got this error on install any ideas? Cheers Paul. Mac-Pro:Python paul$ python3.4 -m pip install ./evohome-client Exception: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/basecommand.py", line 232, in main status = self.run(options, args) File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/commands/install.py", line 305, in run name, None, isolated=options.isolated_mode, File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/req/req_install.py", line 181, in from_line isolated=isolated) File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/req/req_install.py", line 54, in init req = pkg_resources.Requirement.parse(req) File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/_vendor/pkg_resources/init.py", line 2873, in parse reqs = list(parse_requirements(s)) File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/_vendor/pkg_resources/init.py", line 2820, in parse_requirements "version spec") File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/_vendor/pkg_resources/init.py", line 2785, in scan_list raise ValueError(msg, line, "at", line[p:]) ValueError: ('Expected version spec in', './evohome-client', 'at', '/evohome-client')

watchforstock commented 9 years ago

Hi Paul,

I'm not a Mac user so may now ask some stupid questions:

Otherwise, the command you're running looks right and I've not heard of others having trouble installing so it may be a Mac thing.

Andrew

wardienet commented 9 years ago

Hi Andrew, thanks for your quick response. I'm away from home with work for a couple of days now but when I get back I will check and let you know. I just had a first quick go at installing it so may well have made a mistake like below. I did get pip to work through. I'm an ex developer but years ago and not too familiar with Python but will pick it up again! Great idea this script, I just upgraded my old original EvoHome and impressed by the new one. Just a shame their own iOS app is rubbish. I also use a Netatmo and that has a great mechanism for logging. Thanks, Paul

Sent from my iPad

On 10 Mar 2015, at 08:11, Andrew Stock notifications@github.com wrote:

Hi Paul,

I'm not a Mac user so may now ask some stupid questions:

Can you successfully install other packages through pip? Does the evohome-client folder exist in the directory you're in? Has the checkout worked - can you see a setup.py file inside the folder? Otherwise, the command you're running looks right and I've not heard of others having trouble installing.

Andrew

— Reply to this email directly or view it on GitHub.

wardienet commented 9 years ago

Hi Andrew - my mistake, I had the client folder in a different place and dumbass just copied in the ./ reference… Thanks! Paul

On 10 Mar 2015, at 08:11, Andrew Stock notifications@github.com wrote:

Hi Paul,

I'm not a Mac user so may now ask some stupid questions:

Can you successfully install other packages through pip? Does the evohome-client folder exist in the directory you're in? Has the checkout worked - can you see a setup.py file inside the folder? Otherwise, the command you're running looks right and I've not heard of others having trouble installing.

Andrew

— Reply to this email directly or view it on GitHub https://github.com/watchforstock/evohome-client/issues/7#issuecomment-78010894.

watchforstock commented 9 years ago

I'd love to pretend I'd never done something like that! Glad it's working now

Andrew