GoogleCloudPlatform / GoogleCloudPlatform/gsutil
Failed to import the compiled crcmod in CentOS GCE instance even after installation
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
It seems we have a recurring issue. As stated on #566 (and [other sites](https://serverfault.com/questions/912564/crcmod-installed-but-gsutil-shows-compiled-crcmod-false)) I cannot install the crcmod.
I have checked all the requirements.
I confirm [the installation steps](https://cloud.google.com/storage/docs/gsutil/addlhelp/CRC32CandInstallingcrcmod#centos-rhel-and-fedora) succeeded.
I even updated _gsutil_ version.
The output of `gsutil version -l` in my instance is the following:
```
gsutil version: 4.46
checksum: 24863f1c52e090ead031c3655a432de1 (!= c51c2a8b6522b7ecf21b8a51fd31b812)
boto version: 2.49.0
python version: 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
OS: Linux 3.10.0-957.10.1.el7.x86_64
multiprocessing available: True
using cloud sdk: True
pass cloud sdk credentials to gsutil: True
config path(s): /etc/boto.cfg, /root/.config/gcloud/legacy_credentials/***/.boto
gsutil path: /usr/lib64/google-cloud-sdk/bin/gsutil
compiled crcmod: False
installed via package manager: False
editable install: False
```
As you can see, even after following the compiling instructions, the command outputs `compiled crcmod: False`.
Any advice on this?
Contributor guide
Research direction
Start with the CentOS/RHEL/Fedora crcmod installation steps and run `gsutil version -l` in the reported Google Cloud SDK environment. Trace how gsutil determines the `compiled crcmod` value, using the reported Python 2.7.5, gsutil 4.46, and package path as context. Done means identifying why the compiled module is not detected or documenting the missing environment detail needed to resolve it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100