I tried creating a conda environment that is specified here : https://github.com/Aglinskas/pub-CVAE-MRI-ASD/blob/main/requirements.txt
However, I got the following error :
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- typing-extensions==4.0.1=pypi_0
- tenacity==8.0.1=pypi_0
- ipykernel==5.5.0=pypi_0
- node2vec==0.4.3=pypi_0
- nvidia-smi==0.1.3=pypi_0
- termcolor==1.1.0=pypi_0
- executing==0.8.0=pypi_0
- gast==0.4.0=pypi_0
- wrapt==1.12.1=pypi_0
- tensorflow==2.5.0=pypi_0
- svgutils==0.3.1=pypi_0
- docopt==0.6.2=pypi_0
- boto3==1.18.6=pypi_0
- tf-nightly==2.5.0.dev20201207=pypi_0
- bids-validator==1.8.4=pypi_0
- numpy==1.19.5=pypi_0
- interface-meta==1.2.4=pypi_0
- requests-oauthlib==1.3.0=pypi_0
- xgboost==1.5.1=pypi_0
- tf-estimator-nightly==2.5.0.dev2020120701=pypi_0
- nvidia-ml-py3==7.352.0=pypi_0
- google-auth==1.23.0=pypi_0
- textwrap3==0.9.2=pypi_0
- pynacl==1.4.0=pypi_0
- clang==5.0=pypi_0
- pyasn1-modules==0.2.8=pypi_0
- invoke==1.5.0=pypi_0
- ansiwrap==0.8.4=pypi_0
- antspyx==0.2.4=pypi_0
- ci-info==0.2.0=pypi_0
- sorcery==0.2.1=pypi_0
- dipy==1.4.1=pypi_0
- tensorflow-gpu==2.3.1=pypi_0
- isodate==0.6.1=pypi_0
- imbalanced-learn==0.8.1=pypi_0
- google-auth-oauthlib==0.4.2=pypi_0
- pygsp==0.5.1=pypi_0
- tb-nightly==2.5.0a20201207=pypi_0
- pycuda==2020.1=pypi_0
- python-levenshtein==0.12.2=pypi_0
- rdflib==6.1.1=pypi_0
- opt-einsum==3.3.0=pypi_0
- astunparse==1.6.3=pypi_0
- tensorboard-data-server==0.6.1=pypi_0
- mako==1.1.4=pypi_0
- sklearn==0.0=pypi_0
- python-louvain==0.15=pypi_0
- tensorboard-plugin-wit==1.7.0=pypi_0
- pathspec==0.9.0=pypi_0
- mriqc==0.16.1=pypi_0
- etelemetry==0.2.2=pypi_0
- smart-open==5.2.1=pypi_0
- simplejson==3.17.6=pypi_0
- nbformat==5.1.3=pypi_0
- colorama==0.4.3=pypi_0
- oauthlib==3.1.0=pypi_0
- nitime==0.9=pypi_0
- grpcio==1.34.1=pypi_0
- awscli==1.19.73=pypi_0
- webcolors==1.11.1=pypi_0
- farneback3d==0.1.3=pypi_0
- traits==6.3.2=pypi_0
- paramiko==2.7.2=pypi_0
- pytest==6.2.5=pypi_0
- rsa==4.6=pypi_0
- google-pasta==0.2.0=pypi_0
- protobuf==3.14.0=pypi_0
- formulaic==0.2.4=pypi_0
- prov==2.0.0=pypi_0
- keras-nightly==2.5.0.dev2021032900=pypi_0
- prettytable==2.1.0=pypi_0
- absl-py==0.11.0=pypi_0
- jmespath==0.10.0=pypi_0
- papermill==2.3.3=pypi_0
- nda-tools==0.2.8=pypi_0
- tomli==1.2.1=pypi_0
- python-graphviz==0.18.2=pypi_0
- install==1.3.4=pypi_0
- opencv-python==4.5.1.48=pypi_0
- docutils==0.15.2=pypi_0
- joblib==1.0.1=pypi_0
- s3transfer==0.5.0=pypi_0
- asttokens==2.0.5=pypi_0
- transforms3d==0.3.1=pypi_0
- pydot==1.4.2=pypi_0
- pytools==2021.1.2=pypi_0
- nipype==1.7.0=pypi_0
- platformdirs==2.3.0=pypi_0
- niworkflows==1.1.12=pypi_0
- ipython==7.10.0=pypi_0
- gensim==4.1.2=pypi_0
- astor==0.8.1=pypi_0
- xvfbwrapper==0.2.9=pypi_0
- keras-preprocessing==1.1.2=pypi_0
- black==21.8b0=pypi_0
- pyasn1==0.4.8=pypi_0
- hdbscan==0.8.27=pypi_0
- plotly==4.14.0=pypi_0
- keras==2.6.0=pypi_0
- pyrcca==0.2=pypi_0
- h5py==3.1.0=pypi_0
- appdirs==1.4.4=pypi_0
- pybids==0.14.0=pypi_0
- scikit-learn==1.0.1=pypi_0
- chart-studio==1.1.0=pypi_0
- flatbuffers==1.12=pypi_0
- mypy-extensions==0.4.3=pypi_0
- tensorflow-estimator==2.5.0=pypi_0
- nibabel==3.2.1=pypi_0
- botocore==1.20.73=pypi_0
- fabric==2.6.0=pypi_0
- bcrypt==3.2.0=pypi_0
- cachetools==4.1.1=pypi_0
- tensorboard==2.6.0=pypi_0
- karateclub==1.2.2=pypi_0
- num2words==0.5.10=pypi_0
- umap-learn==0.4.6=pypi_0
- templateflow==0.7.2=pypi_0
- markdown==3.3.3=pypi_0
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
As per instructions on PackagesNotFoundError: The following packages are not available from current channels:, I tried conda config --append channels conda-forge
, then creating it again, but it still did not work.
Also, it appears weird that numpy
is not in the channel, as it seems to be a fairly popular package.
Could anyone explain how I can resolve this? Thank you in advance!
====UPDATE===
As per the duplicate question's answer, I tried sed -e 's/=pypi_0//' requirements.txt > reqs.nopip.txt
and did conda env create -n CHA_cVAE -f reqs.nopip.txt
, but the following errors came out :
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:
- niworkflows=1.1.12
- farneback3d=0.1.3
- tensorboard-data-server=0.6.1
- mypy-extensions=0.4.3
- nda-tools=0.2.8
- pyrcca=0.2
- tensorflow-gpu=2.3.1
- nvidia-smi=0.1.3
- node2vec=0.4.3
- opt-einsum=3.3.0
- templateflow=0.7.2
- bids-validator=1.8.4
- pybids=0.14.0
- install=1.3.4
- opencv-python=4.5.1.48
- interface-meta=1.2.4
- smart-open=5.2.1
- clang=5.0
- mriqc=0.16.1
- keras-nightly=2.5.0.dev2021032900
- tf-estimator-nightly=2.5.0.dev2020120701
- tb-nightly=2.5.0a20201207
- nvidia-ml-py3=7.352.0
- karateclub=1.2.2
- sorcery=0.2.1
- antspyx=0.2.4
- sklearn=0.0
- tf-nightly=2.5.0.dev20201207