Closed vinesmsuic closed 3 years ago
Not an expert of conda, but can't we do conda install --file requirements.txt
?
Not sure if this will work, but I know we can do conda env create -f environment.yml
to create the environment from a environment.yml
file.
Not an expert of conda, but can't we do
conda install --file requirements.txt
?
I just tested conda install --file requirements.txt
in my conda environment (Windows 10), here is the error log:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- dlib==19.16.0
- opencv_python==3.4.5.20
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/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.
Got it, could you provide an environment.yml
then, with versions for each library, to avoid future breaking changes?
Thanks for your contribution @vinesmsuic
Should work across all systems.