Okay,
I am trying to setup a environment according to this instruction https://github.com/mozilla-iot/gateway
On a HyperV server I have a Windows 10 client running.
I have installed nanomsg for 64 bit system.
then I followed this steps:
> git clone https://github.com/neutrinoyu/nnpy-win.git
> mv nnpy-wi nnpy
> cd nnpy
> python3 -m pip install .
Please not I am using nnpy-win instead of nnpy beacause nnpy gave me other errors and according to google this should fix it.
But, nnpy-win caused the following error:
Processing c:\program files\nnpy
Complete output from command python setup.py egg_info:
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-37: module references __file__
pycparser.ply.__pycache__.lex.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module references __file__
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-37: module references __file__
Installed c:\users\lars-g~1\appdata\local\temp\pip-req-build-vsvub3fh\.eggs\pycparser-2.19-py3.7.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\LARS-G~1\AppData\Local\Temp\pip-req-build-vsvub3fh\setup.py", line 28, in <module>
install_requires=['cffi'],
File "C:\Program Files\Python37\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "C:\Program Files\Python37\lib\distutils\core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Program Files\Python37\lib\site-packages\setuptools\dist.py", line 442, in __init__
k: v for k, v in attrs.items()
File "C:\Program Files\Python37\lib\distutils\dist.py", line 292, in __init__
self.finalize_options()
File "C:\Program Files\Python37\lib\site-packages\setuptools\dist.py", line 601, in finalize_options
ep.load()(self, ep.name, value)
File "c:\users\lars-g~1\appdata\local\temp\pip-req-build-vsvub3fh\.eggs\cffi-1.11.5-py3.7-win-amd64.egg\cffi\setuptools_ext.py", line 204, in cffi_modules
add_cffi_module(dist, cffi_module)
File "c:\users\lars-g~1\appdata\local\temp\pip-req-build-vsvub3fh\.eggs\cffi-1.11.5-py3.7-win-amd64.egg\cffi\setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "c:\users\lars-g~1\appdata\local\temp\pip-req-build-vsvub3fh\.eggs\cffi-1.11.5-py3.7-win-amd64.egg\cffi\setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "generate.py", line 133, in <module>
ffi = create_module()
File "generate.py", line 126, in create_module
library_dirs = [DEFAULT_LIBRARY_DIR], libraries=['nanomsg'], **set_source_args)
TypeError: set_source() got multiple values for keyword argument 'library_dirs'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\LARS-G~1\AppData\Local\Temp\pi
Can anyone help me out here. I’ve reported on the nnyp github site, but so far no response.