clach04/python-tuya

pip install pytuya fails

slomanl1 opened this issue · 4 comments

When I try to install pytuya package I get the following error:
pip install pytuya
Collecting pytuya
Using cached https://files.pythonhosted.org/packages/81/7a/a77347f79ab92408acf49d48d15043fa1254405fb501f2ecc6e64f2c7ca9/pytuya-7.0.1.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-yfyZYU/pytuya/setup.py", line 23, in
with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
File "/usr/lib/python2.7/codecs.py", line 896, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/tmp/pip-install-yfyZYU/pytuya/README.md'

Yeah, same here. I tried python2 and python3. I've got pip 18.1 if it matters. Looks like a simple packaging error though (README.md not in the package)?

Version 7.0 still installs fine:

pip install --user pytuya==7.0`
Collecting pytuya==7.0
  Downloading 
...
Installing collected packages: pyaes, pytuya
Successfully installed pyaes-1.6.1 pytuya-7.0

Thanks for the heads up.

Should be resolved by d9e72d3 - will close in a week.

https://pypi.org/project/pytuya/ version 7.0.2 posted to PyPi