nch-igm / snvstory

Rapid and accurate ancestry inference using SNVs.
BSD 3-Clause "New" or "Revised" License
15 stars 8 forks source link

Failed installation #1

Closed egenomics closed 8 months ago

egenomics commented 1 year ago

Hi, I am trying to install your tool but I get the error shown at the end of the post. Any Idea on how to proceed? Thanks in advance.

`sudo docker-compose build WARN[0000] The "CODEARTIFACT_AUTH_TOKEN" variable is not set. Defaulting to a blank string. [+] Building 3.3s (9/11) docker:default => [ancestry internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [ancestry internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [ancestry internal] load metadata for docker.io/continuumio/miniconda3:4.8.2 1.0s => [ancestry internal] load build context 0.0s => => transferring context: 1.11kB 0.0s => [ancestry 1/7] FROM docker.io/continuumio/miniconda3:4.8.2@sha256:456e3196bf3ffb13fee7c9216db4b18b5e6f4d37090b31df3e0309926e98cfe2 0.0s => CACHED [ancestry 2/7] RUN conda install -y -c conda-forge matplotlib=3.2.1 xgboost=1.0.2 pandas=1.0.1 numpy=1.18.1 scipy=1.4.1 uma 0.0s => CACHED [ancestry 3/7] WORKDIR /opt/Ancestry 0.0s => CACHED [ancestry 4/7] COPY ./requirements.txt ./ 0.0s => ERROR [ancestry 5/7] RUN pip install -r requirements.txt --extra-index-url https://aws:@igm-257995316808.d.codeartifact.us-east-2.amazonaws.com/pypi/igm-py 2.2s


[ancestry 5/7] RUN pip install -r requirements.txt --extra-index-url https://aws:@igm-257995316808.d.codeartifact.us-east-2.amazonaws.com/pypi/igm-pypi-store/simple/:
0.786 Looking in indexes: https://pypi.org/simple, https://aws:****@igm-257995316808.d.codeartifact.us-east-2.amazonaws.com/pypi/igm-pypi-store/simple/
0.787 Requirement already satisfied: numpy==1.18.1 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 1)) (1.18.1)
0.790 Requirement already satisfied: pandas==1.0.1 in /opt/conda/lib/python3.7/site-packages (from -r requirements.txt (line 2)) (1.0.1)
1.452 User for igm-257995316808.d.codeartifact.us-east-2.amazonaws.com: ERROR: Exception: 1.455 Traceback (most recent call last): 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 186, in _main 1.455 status = self.run(options, args) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 331, in run 1.455 resolver.resolve(requirement_set) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve 1.455 discovered_reqs.extend(self._resolve_one(requirement_set, req)) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one 1.455 abstract_dist = self._get_abstract_dist_for(req_to_install) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/legacy_resolve.py", line 281, in _get_abstract_dist_for 1.455 req.populate_link(self.finder, upgrade_allowed, require_hashes) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 249, in populate_link 1.455 self.link = finder.find_requirement(self, upgrade) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 899, in find_requirement 1.455 req.name, specifier=req.specifier, hashes=hashes, 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 881, in find_best_candidate 1.455 candidates = self.find_all_candidates(project_name) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 826, in find_all_candidates 1.455 project_url, link_evaluator=link_evaluator, 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 790, in process_project_url 1.455 html_page = self._link_collector.fetch_page(project_url) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 497, in fetch_page 1.455 return _get_html_page(location, session=self.session) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 337, in _get_html_page 1.455 resp = _get_html_response(url, session=session) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 143, in _get_html_response 1.455 "Cache-Control": "max-age=0", 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 546, in get 1.455 return self.request('GET', url, *kwargs) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/network/session.py", line 405, in request 1.455 return super(PipSession, self).request(method, url, args, kwargs) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 533, in request 1.455 resp = self.send(prep, send_kwargs) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/requests/sessions.py", line 653, in send 1.455 r = dispatch_hook('response', hooks, r, kwargs) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_vendor/requests/hooks.py", line 31, in dispatch_hook 1.455 _hook_data = hook(hook_data, kwargs) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/network/auth.py", line 246, in handle_401 1.455 username, password, save = self._prompt_for_password(parsed.netloc) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/network/auth.py", line 218, in _prompt_for_password 1.455 username = ask_input("User for %s: " % netloc) 1.455 File "/opt/conda/lib/python3.7/site-packages/pip/_internal/utils/misc.py", line 256, in ask_input 1.455 return input(message) 1.455 EOFError: EOF when reading a line 2.138 User for igm-257995316808.d.codeartifact.us-east-2.amazonaws.com:

failed to solve: executor failed running [/bin/sh -c pip install -r requirements.txt --extra-index-url https://aws:$CODEARTIFACT_AUTH_TOKEN@igm-257995316808.d.codeartifact.us-east-2.amazonaws.com/pypi/igm-pypi-store/simple/]: exit code: 2 `

andreirajkovic commented 9 months ago

This should be fixed in the latest version