Cannot install micropython-ffilib required by RMParser on Python 2.7?
Hi, I am trying to create a new parser for RM, but I cannot get MicroPython FFILIB installed in my 2.7 python via command or trying PYCharm.
Could someone share solution or help troubleshoot?
C:\Program Files\Python27\Scripts>pip install micropython-ffilib
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your
Python as Python 2.7 won't be maintained after that date. A future version of pip will drop sup
port for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pyp
a.io/en/latest/development/release-process/#python-2-support
Collecting micropython-ffilib
Using cached https://files.pythonhosted.org/packages/81/8a/5c3e6188384fbb57800a188d24582dc1a16
b4fc8b538e0ba58aa443e3573/micropython-ffilib-0.1.3.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python27\python.exe' -c 'import sys, setuptools, tokenize; sys.a
rgv[0] = '"'"'c:\\users\\dh_tower\\appdata\\local\\temp\\pip-install-3dwauk\\micropython-ffilib\
\setup.py'"'"'; __file__='"'"'c:\\users\\dh_tower\\appdata\\local\\temp\\pip-install-3dwauk\\mic
ropython-ffilib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read()
.replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
egg_info --egg-base pip-egg-info
cwd: c:\users\dh_tower\appdata\local\temp\pip-install-3dwauk\micropython-ffilib\
Complete output (3 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: 'c:\\users\\dh_tower\\appdata\\local\\temp\\pi
p-install-3dwauk\\micropython-ffilib\\setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full
command output.
-
This library is not used by us.Please see the tutorial here:
https://github.com/sprinkler/rainmachine-developer-resources/tree/master/sdk-parsers
You could also take the example parser from: https://github.com/sprinkler/rainmachine-developer-resources/blob/master/sdk-parsers/RMParserFramework/parsers/example-parser.py
and modify it to suit your needs and then upload it to your RainMachine using the Web Interface.
Please sign in to leave a comment.
Comments
1 comment