Closed tea-kostic closed 3 years ago
Hi @tea-kostic ,
Not an author of CNVkit, but it seems to look like this Stack thread
=> Could you please run python -c "import numpy; print(numpy.__version__)"
, to know which Numpy version were installed in your Docker?
Hope this helps. Have a nice day. Felix.
Hi @tetedange13 ,
You are right, it was an older version of numpy, and once I specified in the dockerfile numpy version 1.20.0 it solved the issue.
Thanks a lot! Have a great day. Tea
@tea-kostic I am happy this solved your problem !
=> But could you please reopen this issue?
=> Because I may be wrong but I think CNVkit's Dockerfile could be made less sensible to such "Numpy version conflicts" issue
Ideas:
--no-binary :all:
or simply --no-binary
flag at L19 ? --> Update: Numpy is hard to build this way (so is Scipy?)pip
and use a requirements.txt
+ the fact that dependencies-resolving was set as default behaviour for pip>=20.3
?pip install cnvkit
, work like a charm)Thanks @tea-kostic for reporting and @tetedange13 for testing the solution. I've updated the Dockerfile to first update pip itself, then use it to install the cnvkit
package directly, which seems to work fine now.
Hi!
I am trying to build a docker image using the Dockerfile provided here. I am getting this error:
What may be causing this error? How should it be resolved?
Thank you in advance, Tea