conda installation problem
Installation of 0.8.0 using bioconda:
conda create -n deepvariant deepvariant
fails on CentOS 6.6 with:
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/.travis.yml'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/README.rst'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/documentation/Makefile'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/documentation/conf.pyc'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/documentation/index.rst'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/setup.cfg'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/setup.pyc'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/six.pyc'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/test_six.pyc'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/six/tox.ini'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/socksipy-branch/setup.pyc'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/platform/gsutil/third_party/socksipy-branch/socks.pyc'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/rpm/mapping/command_mapping.yaml'
specified in the package manifest cannot be found.
CondaVerificationError: The package for google-cloud-sdk located at /home/pedge/anaconda3/pkgs/google-cloud-sdk-243.0.0-py27_0
appears to be corrupted. The path 'share/google-cloud-sdk-243.0.0-0/rpm/mapping/component_mapping.yaml'
specified in the package manifest cannot be found.
(there are many similar CondaVerificationErrors before this) Conda info:
active environment : longshot
active env location : /home/pedge/anaconda3/envs/longshot
shell level : 2
user config file : /home/pedge/.condarc
populated config files : /home/pedge/.condarc
conda version : 4.6.9
conda-build version : 3.17.6
python version : 3.7.1.final.0
base environment : /home/pedge/anaconda3 (writable)
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/bioconda/linux-64
https://conda.anaconda.org/bioconda/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://conda.anaconda.org/OpenMDAO/linux-64
https://conda.anaconda.org/OpenMDAO/noarch
package cache : /home/pedge/anaconda3/pkgs
/home/pedge/.conda/pkgs
envs directories : /home/pedge/anaconda3/envs
/home/pedge/.conda/envs
platform : linux-64
user-agent : conda/4.6.9 requests/2.21.0 CPython/3.7.1 Linux/2.6.32-696.18.7.el6.x86_64 centos/6.6 glibc/2.12
UID:GID : 511626:8162
netrc file : None
offline mode : False
I've reached out to @chapmanb (owner of the conda package) to help take a look.
(Brad, I still haven't got a chance to try it out myself recently. If there's anything that our team needs to fix, please let me know)
Peter;
Thanks for the report and apologies about the install issues. It looks like you're installing deepvariant in a python 3 environment, and it only works with python 2.7, which might be the source of the problems. Hopefully if you try installing with 'python=2.7' as an additional requirement that will help avoid it. If you still hit issues, it might be a legit problem with the latest google-cloud-sdk and you could also add 'google-cloud-sdk<243.0.0' as another requirement. Hope this helps.
Ah ok I figured that installing it fresh in an empty environment would by default force that environment to be python 2.7. let me try it with that extra requirement
I get the same errors with conda create -n deepvariant python=2.7 deepvariant
Peter; Thanks for testing, it sounds like there is a problem with the recent google-cloud-sdk packages. I'll take a look to see if I can figure out what is going wrong but an immediate thing you could try is to restrict that dependency version to try and avoid the issue:
conda create -n deepvariant python=2.7 deepvariant 'google-cloud-sdk<243.0.0'
Hope this helps get it installed.
constraining google-cloud-sdk version worked! thank you
On Wed, Apr 24, 2019 at 3:17 AM Brad Chapman [email protected] wrote:
Peter; Thanks for testing, it sounds like there is a problem with the recent google-cloud-sdk packages. I'll take a look to see if I can figure out what is going wrong but an immediate thing you could try is to restrict that dependency version to try and avoid the issue:
conda create -n deepvariant python=2.7 deepvariant 'google-cloud-sdk<243.0.0'
Hope this helps get it installed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/deepvariant/issues/177#issuecomment-486163437, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUBV2DKBMPCNW6H6H2OGKLPSAXVJANCNFSM4HH7EBWQ .
Thanks @chapmanb so much for you help. And Thanks @pjedge for your update. I'm closing this issue.
Peter; Thanks for following up and glad to hear that this got it installed for you. I've been trying to replicate to fix the issue and avoid the manual pinning but can't seem to do on my system. Perhaps this was a temporary download issue with the google-cloud-sdk package, but it seems okay now. If anyone else stumbles across this same issue we can dig more but hopefully it was just something transient and we're good going forward. Thanks again.
Hello,
I tried installing deepvariant using conda install deepvariant .
With this, conda successfully;
-Collects package metadata
-Solves environment
-prepares and verifies the transactions (i.e required packages to download/install/update)
Unfortunately, executing the transaction fails with the error below,
Preparing transaction: done
Verifying transaction: done
Executing transaction: | ERROR conda.core.link:_execute_post_link_actions(658): An error occurred while installing package 'bioconda/label/cf201901::deepvariant-0.7.2-py27h5d9141f_1'.
LinkError: post-link script failed for package bioconda/label/cf201901::deepvariant-0.7.2-py27h5d9141f_1
running your command again with `-v` will provide additional information
location of failed script: /root/miniconda3/bin/.deepvariant-post-link.sh
==> script messages <==
<None>
Attempting to roll back.
failed
ERROR conda.core.link:_execute(568): An error occurred while installing package 'bioconda/label/cf201901::deepvariant-0.7.2-py27h5d9141f_1'.
LinkError: post-link script failed for package bioconda/label/cf201901::deepvariant-0.7.2-py27h5d9141f_1
running your command again with `-v` will provide additional information
location of failed script: /root/miniconda3/bin/.deepvariant-post-link.sh
==> script messages <==
<None>
Attempting to roll back.
Rolling back transaction: done
LinkError: post-link script failed for package bioconda/label/cf201901::deepvariant-0.7.2-py27h5d9141f_1
running your command again with `-v` will provide additional information
location of failed script: /root/miniconda3/bin/.deepvariant-post-link.sh
==> script messages <==
<None>
I had a similar error installing with
conda install -c bioconda deepvariant and conda install -c bioconda/label/cf201901 deepvariant and conda create -n deepvariant python=2.7 deepvariant 'google-cloud-sdk<243.0.0'
Any idea and solution to what could be causing the error, please?
Sorry about the install issues. The post-link.sh script that is failing downloads the trained models that DeepVariant uses from Google Buckets:
https://github.com/bioconda/bioconda-recipes/blob/master/recipes/deepvariant/post-link.sh
Failures here are typically due to problems with gsutil picking up other configuration options on your system. This thread has a bunch of debugging and some suggestions to try to work around the gsutil problem:
https://github.com/bcbio/bcbio-nextgen/issues/2613
If you can try the tips there and let us know more details of the failures if you get stuck happy to help with specific suggestions. Hope this gets deepvariant installed for you.
DeepVariant Installation problem using Anaconda version 4.8.2 https://anaconda.org/bioconda/deepvariant
Tried to installed with default python version which is Python 3.7.6
conda activate deepvariant
conda install -c bioconda deepvariant
Output:
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError:
Second option with the label
conda install -c bioconda/label/cf201901 deepvariant
Output:
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError:
Noticed that required version is 2.7 so I removed the environment and tried to install it with this version
conda remove --name deepvariant --all
conda create -n deepvariant python=2.7 deepvariant
Output:
Collecting package metadata (repodata.json): done
Solving environment: -
Found conflicts! Looking for incompatible packages. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python conflicts for:
python=2.7
deepvariant -> python[version='2.7.*|>=2.7,<2.8.0a0']
deepvariant -> boost -> python[version='3.4.*|3.5.*|3.6.*|>=3.5,<3.6.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.6|3.7.*']
After reading this issue: https://github.com/google/deepvariant/issues/177, I tried to constrain google-cloud-sdk version
conda create -n deepvariant python=2.7 deepvariant 'google-cloud-sdk<243.0.0'
Output:
Collecting package metadata (repodata.json): done
Solving environment: / Found conflicts! Looking for incompatible packages. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package google-cloud-sdk conflicts for:
google-cloud-sdk[version='<243.0.0']
deepvariant -> google-cloud-sdk
Package python conflicts for:
python=2.7
deepvariant -> python[version='2.7.*|>=2.7,<2.8.0a0']
google-cloud-sdk[version='<243.0.0'] -> python=2.7
deepvariant -> boost -> python[version='3.4.*|3.5.*|3.6.*|>=3.5,<3.6.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.6|3.7.*']
Package setuptools conflicts for:
deepvariant -> protobuf -> setuptools
python=2.7 -> pip -> setuptools
I also tried to install clean environment with Python 2.7 before installing deepvariant
conda create -n deepvariant python=2.7
conda activate deepvariant
conda install -c bioconda deepvariant
Output:
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | Found conflicts! Looking for incompatible packages. failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- deepvariant -> python[version='3.4.*|3.5.*|3.6.*|>=3.5,<3.6.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.6|3.7.*']
Your python: python=2.7
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
Do you have any idea what is causing the problem and how to proceed, please?
Anna; Apologies about the issues. If you also include the conda-forge channel in your install it should resolve cleanly:
conda create -n deepvariant -c conda-forge -c bioconda python=2.7 deepvariant
bioconda is heavily dependent on conda-forge packages so you'll want to include that whenever installing anything from bioconda to ensure all the dependencies are available. Hope this helps get it running for you.