Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] #446

Closed
seankim811 opened this issue Mar 10, 2022 · 2 comments
Closed

[Bug Report] #446

seankim811 opened this issue Mar 10, 2022 · 2 comments
Labels

Comments

@seankim811
Copy link

Issue Description

Fail to install pymodi on my Win10.

ERROR: Failed building wheel for bleak-winrt
Failed to build bleak-winrt
ERROR: Could not build wheels for bleak-winrt which use PEP 517 and cannot be installed directly

What I Did

(pymodi) D:\pymodi>python -m pip install pymodi --user --upgrade
Collecting pymodi
Downloading pymodi-1.2.0-py2.py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 3.3 MB/s
Collecting pyserial==3.5
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting websocket-client==1.2.3
Downloading websocket_client-1.2.3-py3-none-any.whl (53 kB)
|████████████████████████████████| 53 kB 3.8 MB/s
Collecting nest-asyncio==1.5.4
Downloading nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB)
Collecting bleak==0.13.0
Downloading bleak-0.13.0-py2.py3-none-any.whl (111 kB)
|████████████████████████████████| 111 kB 3.3 MB/s
Collecting bleak-winrt>=1.0.1
Downloading bleak-winrt-1.1.1.tar.gz (4.0 MB)
|████████████████████████████████| 4.0 MB 6.4 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: bleak-winrt
Building wheel for bleak-winrt (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\Anaconda\envs\pymodi\python.exe' 'D:\Anaconda\envs\pymodi\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\SEANKI1\AppData\Local\Temp\tmpm8mxb6uq'
cwd: C:\Users\SEANKI
1\AppData\Local\Temp\pip-install-_9rp72yw\bleak-winrt_3f66a56593cb454e893404859976ced4
Complete output (332 lines):
Not searching for unused variables given on the command line.
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
The CMAKE_C_COMPILER:

  cl

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeError.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

  Visual Studio 17 2022

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
The CMAKE_C_COMPILER:

  cl

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeError.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

  Visual Studio 16 2019

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
The CMAKE_C_COMPILER:

  cl

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeError.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

  Visual Studio 15 2017

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Running

 'nmake' '-?'

failed with:

 The system cannot find the file specified

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Running

 'nmake' '-?'

failed with:

 The system cannot find the file specified

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Running

 'nmake' '-?'

failed with:

 The system cannot find the file specified

-- Configuring incomplete, errors occurred!
See also "C:/Users/Sean Kim/AppData/Local/Temp/pip-install-_9rp72yw/bleak-winrt_3f66a56593cb454e893404859976ced4/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".


-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator






--







-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - failure


-- Trying "Visual Studio 17 2022 x64 v143" generator






--







-- Trying "Visual Studio 17 2022 x64 v143" generator - failure


-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator






--







-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator - failure


-- Trying "Visual Studio 16 2019 x64 v142" generator






--







-- Trying "Visual Studio 16 2019 x64 v142" generator - failure


-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator






--







-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator - failure


-- Trying "Visual Studio 15 2017 x64 v141" generator






--







-- Trying "Visual Studio 15 2017 x64 v141" generator - failure


-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator






--







-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator - failure


-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator






--







-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator - failure


-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator






--







-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator - failure


scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.6 requires Microsoft Visual Studio 2022.
Get it with "Visual Studio 2017":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2019":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2022":

https://visualstudio.microsoft.com/vs/


ERROR: Failed building wheel for bleak-winrt
Failed to build bleak-winrt
ERROR: Could not build wheels for bleak-winrt which use PEP 517 and cannot be installed directly

@seankim811
Copy link
Author

Looks like, it is looking for VS2017 from the host but don't why do I need VS2017?

@stale
Copy link

stale bot commented Apr 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 11, 2022
@stale stale bot closed this as completed Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant