question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors while building wheel on Windows

See original GitHub issue
module.c(508): error C2440: 'function': cannot convert from 'double' to 'const char *'
module.c(508): warning C4024: 'PyModule_AddStringConstant': different types for formal and actual parameter 3
module.c(508): error C2143: syntax error: missing ')' before 'constant'
module.c(508): error C2059: syntax error: ')'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
Failed building wheel for ciso8601

Python 3.7.0 x64 VS Professional 2017 (15.8.5) Windows 7 SP1 x64

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
movermeyercommented, Oct 3, 2018

Alright, I’ve fixed it. I used the “stringizing operator” as seen in the example provided by @alexandrul, as it provides a nice cross-platform solution.

New release should happen shortly. Sorry about this.

1reaction
movermeyercommented, Oct 3, 2018

On it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error building wheel on installation with Windows 10 #257
Hi, I'm trying to install starry which is new to me, and I've got this error message: ERROR: Command errored out with exit...
Read more >
Error with visual studio build tools msvc while downloading ...
I am using Visual Studio Code and I have tried VS build tools 2017, 2019, 2022, but I cannot successfully install paddleocr. ×...
Read more >
Error while buliding pysha3 with pip? ERROR: Failed building ...
when I try to install with pip install pysha3, I get the error "ERROR: Failed building wheel for pysha3". I did already install...
Read more >
How to Install Prophet Library on Windows, Issues and Fixes
This guide helps you install Prophet on Windows in a step-wise manner and provides the solution ... ERROR: Failed building wheel for pystan....
Read more >
building wheel for numpy (pyproject.toml) ... error - You.com
Getting an error saying "Could not build wheels for numpy which use PEP 517 and cannot be installed directly" while installing numpy.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found