SolarEdgeTech/pyctuator

ERROR: No matching distribution found for pyctuator

PvanHengel opened this issue · 5 comments

Not sure if I am the only one, but it seems like there is an issue getting the package:

ERROR: Could not find a version that satisfies the requirement pyctuator (from versions: none)
ERROR: No matching distribution found for pyctuator
root ➜ /workspaces/test-python $

Can you tell a bit more about what's not working for you?
Are you trying to run one of the examples? Did you run poetry install in the example's dir?
Can you please run poetry show -v and attache the result?

I tried simple pip on Ubuntu the following and its working fine:

$ pip3 install pyctuator
Collecting pyctuator
  Using cached pyctuator-0.13.1-py3-none-any.whl (36 kB)
Installing collected packages: pyctuator
Successfully installed pyctuator-0.13.1

Note that Pyctuator requires Python 3.7 or newer (< 4).

Can you run pip install again with -v?
Output should be similar to this:

$ pip3 install pyctuator -v
User install by explicit request
Created temporary directory: ...
Created temporary directory: ...
Initialized build tracking at ...
Created build tracker: ...
Entered build tracker: ...
Created temporary directory: ...
1 location(s) to search for versions of pyctuator:
* https://pypi.org/simple/pyctuator/
Fetching project page and analyzing links: https://pypi.org/simple/pyctuator/
Getting page https://pypi.org/simple/pyctuator/
Found index url https://pypi.org/simple
Getting credentials from keyring for https://pypi.org/simple
Getting credentials from keyring for pypi.org
Looking up "https://pypi.org/simple/pyctuator/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/pyctuator/ HTTP/1.1" 304 0
  Found link https://files.pythonhosted.org/packages/fe/8d/.../pyctuator-0.9-py3-none-any.whl#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.9
  Found link https://files.pythonhosted.org/packages/50/25/.../pyctuator-0.9.tar.gz#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.9
  Found link https://files.pythonhosted.org/packages/1a/c3/.../pyctuator-0.10-py3-none-any.whl#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.10
  Found link https://files.pythonhosted.org/packages/44/c6/.../pyctuator-0.10.tar.gz#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.10
  Found link https://files.pythonhosted.org/packages/90/af/.../pyctuator-0.11-py3-none-any.whl#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.11
  Found link https://files.pythonhosted.org/packages/72/ac/.../pyctuator-0.11.tar.gz#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.11
  Found link https://files.pythonhosted.org/packages/73/c3/.../pyctuator-0.12-py3-none-any.whl#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.12
  Found link https://files.pythonhosted.org/packages/5c/ed/.../pyctuator-0.12.tar.gz#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.12
  Found link https://files.pythonhosted.org/packages/13/de/.../pyctuator-0.13-py3-none-any.whl#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.13
  Found link https://files.pythonhosted.org/packages/3f/a4/.../pyctuator-0.13.tar.gz#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.13
  Found link https://files.pythonhosted.org/packages/85/e5/.../pyctuator-0.13.1-py3-none-any.whl#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.13.1
  Found link https://files.pythonhosted.org/packages/56/07/.../pyctuator-0.13.1.tar.gz#sha256=... (from https://pypi.org/simple/pyctuator/) (requires-python:>=3.7,<4.0), version: 0.13.1
Given no hashes to check 12 links for project 'pyctuator': discarding no candidates
Using version 0.13.1 (newest of versions: 0.9, 0.10, 0.11, 0.12, 0.13, 0.13.1)
Collecting pyctuator
  Created temporary directory: ...
  Getting credentials from keyring for files.pythonhosted.org
  Looking up "https://files.pythonhosted.org/packages/85/e5/.../pyctuator-0.13.1-py3-none-any.whl" in the cache
  Current age based on date: 1813390
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 1813390
  Using cached pyctuator-0.13.1-py3-none-any.whl (36 kB)
  Added pyctuator from https://files.pythonhosted.org/packages/85/e5/.../pyctuator-0.13.1-py3-none-any.whl#sha256=... to build tracker '...'
  Removed pyctuator from https://files.pythonhosted.org/packages/85/e5/.../pyctuator-0.13.1-py3-none-any.whl#sha256=... from build tracker '...'
Installing collected packages: pyctuator
  Created temporary directory: ...

Successfully installed pyctuator-0.13.1
Cleaning up...
Removed build tracker: '...'

Thanks for the update.
Closing this issue for now.