Closed jialinyi94 closed 3 years ago
I see that you are using a locally cached wheel package, hopefully this is jus an older version that was fixed already
However, a possible quick hack is to download the wheel from the URL yo mentioned and rename the .whl file so that .post1
is removed from the filename. and do a pip install using the full path of the local whl package
The conflict seems to be 2.7 vs 2.7.post1 in the name
Hi @thiagocrepaldi , Thanks for the info! We ran into the same problem in our CICD pipeline. So what do we need to do to get the fix? (We cannot do something manually in CICD).
Here are some additional notes:
Hi @cwchung85 I am glad things are working now, but I don't believe there was any action from Microsoft's side for this particular issue. CNTK wheel packages are manually tested before being uploaded to pypi.org, so this issue would have been noticed at most after a few days of the release
What I have experienced in the past was backups being rolled back on pypi.org repos, which causes this kind of temporary issues.
If you see this again, let us know!
@thiagocrepaldi , Sorry, I might have jumped the gun to say it was fixed - the 'fix' was only on a tiny conda env running manually on a build server. I didn;t have the result of the CICD pipeline yet, and turns out the CICD pipeline was still broken (as the CICD full build of an image took more an hour or two to finish). I have turning on --no-cache-dir and -v option and still failed with the same error msg (different versions in metadata).
So what exactly is '2.7 vs 2.7.post1' ? I can see that there are two similarly name: cntk-2.7-cp36-cp36m-manylinux1_x86_64.whl#sha256=9873ecfb... cntk-2.7.post1-cp36-cp36m-manylinux1_x86_64.whl#sha256=97cf434783...
@thiagocrepaldi ,
I'm facing the same issue. We are using cntk as part of our docker build. It worked on our last build(10+ days ago). Today, when we tried to build the docker it failed with the same error.
As mentioned by cwchung85, we cant rely on manual interventions or workarounds.
I will check whether anything was updated - it shouldn't have
I've just uploaded 2.7.post2 that should fix it. Please try again!
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
Collecting cntk-gpu
Downloading cntk_gpu-2.7.post2-cp36-cp36m-manylinux1_x86_64.whl (522.7 MB)
|████████████████████████████████| 522.7 MB 45 kB/s
Requirement already satisfied: scipy>=0.17 in ./miniconda3/envs/cntk_py36/lib/python3.6/site-packages (from cntk-gpu) (1.5.4)
Requirement already satisfied: numpy>=1.11 in ./miniconda3/envs/cntk_py36/lib/python3.6/site-packages (from cntk-gpu) (1.19.4)
Requirement already satisfied: numpy>=1.11 in ./miniconda3/envs/cntk_py36/lib/python3.6/site-packages (from cntk-gpu) (1.19.4)
Installing collected packages: cntk-gpu
Successfully installed cntk-gpu-2.7
LMK if that doesnt work for you
I was trying to install CNTK on my Linux desktop. The environment is Python 3.6, Ubuntu 16.04 LTS, CPU AMD Ryzen 5 2600 Six-Core Processor × 12 and GPU GeForce GTX 1060 6GB/PCIe/SSE2 with 64-bit.
Following the instructions here, I run
$ pip install cntk-gpu
it downloaded a wheel file but cannot install it. The error message goes:
Collecting cntk-gpu Using cached cntk_gpu-2.7.post1-cp36-cp36m-manylinux1_x86_64.whl (522.7 MB) ERROR: Requested cntk-gpu from https://files.pythonhosted.org/packages/c2/50/9bae3b117e1131ddfafadb2beceb9d344e9b5f8aab97a38a7558ef7f15b3/cntk_gpu-2.7.post1-cp36-cp36m-manylinux1_x86_64.whl#sha256=495ec2b5abc52fb7496f5c20bbc119dff18a29f0f65cb87f2cbb8f78153703f6 has different version in metadata: '2.7'
I searched the solutions but cannot find one. Thank you for your patience and help.