-
Notifications
You must be signed in to change notification settings - Fork 97
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
Unable to install gcp_scanner on windows machine. #302
Comments
hii @s-bose7 .plz assign this issue to me .i will try my best to resolve it |
Hello @dikshant182004 I'm a new contributor as you, I don't think you'd have to claim issues in order to work on it. If you can resolve it, please let me know. I'm eager to solve the problem as well. If you need any help, ask that in the google group. Alternatively you can ping @mshudrak, he'd be the maintainer for this project. Thanks. |
Hi, i belive this is the reason The scanner does not rely on any third-party tool (e.g. gcloud). Thus, it can be compiled as a standalone tool and used on a machine with no GCP SDK installed (e.g. a Kubernetes pod). However, please keep in mind that the only OS that is currently supported is Linux. |
Hey thanks for your response. I've WSL installed on my machine as well. If
i enable my virtual environment in WSL inside windows mounted disc, do you
think it'd work?
…On Sun, Dec 3, 2023, 05:00 LetHandsOn ***@***.***> wrote:
Hi, i belive this is the reason
The scanner does not rely on any third-party tool (e.g. gcloud). Thus, it
can be compiled as a standalone tool and used on a machine with no GCP SDK
installed (e.g. a Kubernetes pod). However, please keep in mind that the
only OS that is currently supported is Linux.
—
Reply to this email directly, view it on GitHub
<#302 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQV7SVEUBOVZIK6F7BGTEQLYHO22BAVCNFSM6AAAAAA7NV7QV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGI3TSOJRHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Getting an installation error during
pip install gcp_scanner
.Affected Component
Describe the bug
This is from console log -
Failed to build grpcio
ERROR: Could not build wheels for grpcio, which is required to install pyproject.toml-based projects
Error file and reason -
File "C:\Users\SUDIP BASU\AppData\Local\Temp\pip-build-env-2r9mhvvv\overlay\lib\python3.9\site-packages\setuptools\_distutils\_msvccompiler.py", line 246, in initialize
raise DistutilsPlatformError( distutils.errors.DistutilsPlatformError: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
I've checked my platform using python's platform module. platform.platform() returns
'Windows-10-10.0.19045-SP0'
To Reproduce
Steps to reproduce the behavior:
pip install gcp_scanner
or alternatively you can clone the repo first and then runpip install .
.Expected behavior
It should install gcp_scanner in your working directory.
Current behavior
Getting an error during installation, while building grpcio package.
Logs
` ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 230.9/230.9 kB 3.6 MB/s eta 0:00:00
Downloading grpcio_status-1.59.2-py3-none-any.whl (14 kB)
Building wheels for collected packages: gcp-scanner, pyu2f, grpcio
Building wheel for gcp-scanner (pyproject.toml) ... done
Created wheel for gcp-scanner: filename=gcp_scanner-1.3.0.post6+git.1e99bbee-py3-none-any.whl size=90797 sha256=0bf4f0f4791301e0bf39b93e503d1a838a09c556c252c77bd5fe72a5e1af13ce
Stored in directory: C:\Users\SUDIP BASU\AppData\Local\Temp\pip-ephem-wheel-cache-nanjwzlm\wheels\e8\9f\16\5cc4f1d85dc298cae8bc1608f53f2f223b88ee2a08d9d324c7
Building wheel for pyu2f (pyproject.toml) ... done
Created wheel for pyu2f: filename=pyu2f-0.1.5-py3-none-any.whl size=39413 sha256=803c1fcb70699104313c5378b8d59e1800c46bf0ab7c9a8e9e5622f81997ea1e
Stored in directory: c:\users\sudip basu\appdata\local\pip\cache\wheels\46\3b\95\d2e12a506ead5f6f8b54b0df8e40ab653c2fb9c0379f247eaa
Building wheel for grpcio (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for grpcio (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [174 lines of output]
:40: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html`
Screenshots
The text was updated successfully, but these errors were encountered: