installation fails on crc32c setup (Windows 10)
See original GitHub issueSystem info:
Windows 10 ver.1903, x64
python ver. 3.8.3, build MSC v.1916 64 bit (using conda)
Running pip install -U catalyst
fails at the crc32
setup stage:
Building wheel for crc32c (setup.py) ... error
ERROR: Command errored out with exit status 1:
...
ERROR: Failed building wheel for crc32c
Apparently, the crc32
module doesn’t build against Visual Studio, see https://github.com/ICRAR/crc32c/issues/1. However, VS builds are default on Windows systems for python.
I wonder if the crc32c
module is necessary at all. For example, there’s some crc32 functionality in the binascii
module, e.g.:
import binascii
buf = open("my_file.zip","rb").read()
print( binascii.crc32(buf))
Wouldn’t it be sufficient? Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Installing error under win10 system · Issue #1 · ICRAR/crc32c
When I install crc32c-1.2 under win10 x64 system, it comes the following errors. ... error: command 'C:\Program Files (x86)\Microsoft Visual ...
Read more >CRC32C and Installing crcmod | Cloud Storage - Google Cloud
You are installing the crcmod package for use with your system installation of Python, and thus use the sudo command. If installing crcmod...
Read more >CRC Checking During an Installation - Win32 apps
The CRC check fails if the original CRC value is non-null and is different from the CRC calculated on the copy. If the...
Read more >Could not build wheels for google-crc32c which use PEP 517 ...
I'm building the image on my Windows 10 system via: docker buildx build --platform=linux/arm/v7 . I'm trying to install google-cloud-bigquery ...
Read more >crc32c - PyPI
pip install crc32c. Supported platforms are Linux and OSX using the gcc and clang compilers, and Windows using the Visual Studio compiler.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh! I’ve just realized that I implemented it already in
tensorboardX
https://github.com/lanpa/tensorboardX/pull/429. 😄 We can usecrc32c
from this library until we drop it from dependencies and replace withtorch.tensorboard
(if we do).So, all we need is ~love~ to replace this one
with this one:
Don’t forget to remove
crc32c
from the dependencies and make a note in the README file about speedup if the library is installed.fixed during https://github.com/catalyst-team/catalyst/pull/872