Repository navigation
Closed
Description
Hi all,
I have an issue with loading dependencies from requirements.bzl, it fails with the error: no such package '@...//': pip_import failed. Please refer to the below:
pip_import failed: Collecting cachetools==3.1.0 (from -r C:/users/nurzhan_bazhikov/ideaprojects/microservices-demo/src/recommendationservice/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/39/2b/d87fc2369242bd743883232c463f28205902b8579cb68dcf5b11eee1652f/cachetools-3.1.0-py2.py3-none-any.whl
Saved c:\users\nurzhan_bazhikov\_bazel_nurzhan_bazhikov\jcxa5nvd\external\pip_recommendationservice\cachetools-3.1.0-py2.py3-none-any.whl
Collecting certifi==2018.11.29 (from -r C:/users/nurzhan_bazhikov/ideaprojects/microservices-demo/src/recommendationservice/requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl
Saved c:\users\nurzhan_bazhikov\_bazel_nurzhan_bazhikov\jcxa5nvd\external\pip_recommendationservice\certifi-2018.11.29-py2.py3-none-any.whl
Collecting chardet==3.0.4 (from -r C:/users/nurzhan_bazhikov/ideaprojects/microservices-demo/src/recommendationservice/requirements.txt (line 9))
...
Collecting google-python-cloud-debugger==2.13 (from -r C:/users/nurzhan_bazhikov/ideaprojects/microservices-demo/src/recommendationservice/requirements.txt (line 17))
( Could not find a version that satisfies the requirement google-python-cloud-debugger==2.13 (from -r C:/users/nurzhan_bazhikov/ideaprojects/microservices-demo/src/recommen
dationservice/requirements.txt (line 17)) (from versions: )
No matching distribution found for google-python-cloud-debugger==2.13 (from -r C:/users/nurzhan_bazhikov/ideaprojects/microservices-demo/src/recommendationservice/requirement
s.txt (line 17))
)
tried with pip3_import, but it didn't work or I did it wrong. Could you please suggest on how to proceed and what the error means, is the problem in each dep and some works with python2 and others with python3, so I should try with pip2_import, pip3_import as it says in #85 ?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels
Activity
clintharrison commentedon Oct 21, 2019
It looks like that package is only published as a wheel (see https://pypi.org/simple/google-python-cloud-debugger/), and the wheels provided are Linux-only.
bazhikov commentedon Oct 22, 2019
hm, yes, it seems to be package only for linux, I've disabled it in my deps and it worked. Thanks @clintharrison !