Trying to install python-openzwave on windows

99 views
Skip to first unread message

Diogo Alves

unread,
Oct 8, 2017, 10:17:56 AM10/8/17
to python-openzwave-discuss
Hello

I'm trying to install python openzwave on windows via pip and I get this error:

Installing collected packages: six, nose, Louie, python-openzwave
  Running setup.py install for python-openzwave ... error
    Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\alves\\appdata\\local\\temp\\pip-build-afs6sq\\python-openzwave\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\alves\appdata\local\temp\pip-kuqkwn-record\install-record.txt --single-version-externally-managed --compile:
    ImportError in : from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
    NameError in : class bdist_wheel(_bdist_wheel) - Use bdist_egg instead
    <pyozw_setup.EmbedTemplate object at 0x03CB84F0>
    {'libraries': ['setupapi', 'msvcrt', 'ws2_32', 'dnsapi'], 'sources': ['openzwave-embed/open-zwave-master/python-openzwave/src-lib/libopenzwave/libopenzwave.cpp'], 'language': 'c++', 'name': 'libopenzwave', 'define_macros': [('PY_LIB_VERSION', '0.4.0.35'), ('PY_SSIZE_T_CLEAN', 1), ('PY_LIB_FLAVOR', 'embed'), ('PY_LIB_BACKEND', 'cython')], 'extra_compile_args': [], 'extra_link_args': [], 'extra_objects': ['openzwave-embed\\open-zwave-master/cpp/build/windows/vs2010/Release/openzwave.lib'], 'include_dirs': ['src-lib/libopenzwave/', 'openzwave-embed\\open-zwave-master/cpp/src', 'openzwave-embed\\open-zwave-master/cpp/src/value_classes', 'openzwave-embed\\open-zwave-master/cpp/src/platform', 'openzwave-embed\\open-zwave-master/cpp/build/windows']}
    ['six', 'Louie>=1.1']
    running install
    flavor embed
    running build_openzwave
    Found g++ : None
    Found gcc : None
    Found make : None
    Found gmake : None
    Found pkg-config : None
    fetching https://raw.githubusercontent.com/OpenZWave/python-openzwave/master/archives/open-zwave-master-0.4.0.35.zip into openzwave-embed\open-zwave.zip for version 0.4.0.35
    Build openzwave ... be patient ...
    error: [Error 2] O sistema não conseguiu localizar o ficheiro especificado ( System could not find the specified file)

    ----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\alves\\appdata\\local\\temp\\pip-build-afs6sq\\python-openzwave\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\alves\appdata\local\temp\pip-kuqkwn-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\alves\appdata\local\temp\pip-build-afs6sq\python-openzwave\
Reply all
Reply to author
Forward
0 new messages