I have an intel gpu which is not cuda compatible, so I'm spending a lot of time training small-ish nets on my cpu. I found that there is a package called intel_extension_for_pytorch that is available to run on pytorch. When trying to install it in my Anaconda environment though, I receive the error:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Note: you may need to restart the kernel to use updated packages.
PackagesNotFoundError: The following packages are not available from current channels:
- intel_extension_for_pytorch
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
I have read the ReadMe for the package, and visited their installation guide, but found nothing mentioning conda installation, only for pip.
How to get it working?
https://github.com/intel/intel-extension-for-pytorch
https://www.anaconda.com/blog/using-pip-in-a-conda-environment
sometimes there is no conda.. its possible to use both, though pip doesnt do versioning as well as conda.
Related
I'm trying to learn how to control the mouse with Python learning from:
How to Control your Mouse in Python
My IDE is Spyder (version 5.2.2) and I'm running it from Anaconda (version 2.3.1).
When I try to execute:
conda install mouse
I get the following error:
The following packages are not available from current channels: - mouse
(Full error description below).
I'm new to Anaconda/Spyder/Python so I'm sorry If that's a newbie question, but can I somehow use the mouse library at my environment? If yes, what's the catch? If no, what's the alternative?
Thank you.
Full error description after running "conda install mouse":
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Note: you may need to restart the kernel to use updated packages.
PackagesNotFoundError: The following packages are not available from current channels: mouse
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.
I would like to run gseapy in rstudio as I need to perform some pathway analysis using GSEA_InContext. This is what I have:
library(reticulate)
use_condaenv('/home/user/.local/share/r-miniconda/envs/r-reticulate')
conda_install("r-reticulate", "gseapy")
However, it throws me error as:
'/home/user/.local/share/r-miniconda/bin/conda' 'install' '--yes' '--name' 'r-reticulate' '-c' 'conda-forge' 'gseapy'
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- gseapy
Current channels:
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/conda-forge/noarch
- 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
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.
Error: one or more Python packages failed to install [error code 1]
How can I solve this issue?
Bioinformatics tools are generally hosted on Bioconda, and that includes gseapy. In the future, please search Anaconda.org to find Conda package builds.
To install with reticulate, would be something like
conda_install("gseapy", channel=c('conda-forge', 'bioconda', 'defaults'))
I don't think you should be also installing r-reticulate (an R package) in the Python environment. Personally, I've found keeping environments granular (task-based) and not mixing Python and R in the same environment leads to a smoother user experience.
I am trying to install colmap with conda on Windows 10.
unfortunately it says it cannot find the package despite me having already added the conda-forge channel.
Below is the output:
(base) PS C:\Users\pietro> conda install -c conda-forge colmap
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:
- colmap
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- 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.
I tried to reappend condaforge, and to set my offline status to false, but still no luck.
Thanks for any help!
Cheers
pietro
Update
This should just work now - the Conda Forge feedstock now builds for Windows as well.
Original response
The Conda Forge colmap feedstock currently does not build for the win-64 platform. There is a GitHub Issue requesting/tracking such support, and even a Pull Request that tested adding Windows builds. Please comment on those threads to let the maintainer know that users are interested in seeing that build variant supported.
I'm trying to import a python package (mplsoccer) via reticulate package but I can't:
reticulate::py_install('mplsoccer')
This is the message I get:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- mplsoccer
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- 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.
As I am a beginner in python I am lost. Any help uys?
This is the package page: https://github.com/andrewRowlinson/mplsoccer
This isn't available through Conda, but is on PyPI. Try instead:
reticulate::py_install('mplsoccer', pip=TRUE)
See documentation on py_install command.
I have made multiple attempts but can't find a fix to the following. This is being done with Anaconda.
conda install pyttsx
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:
- pyttsx
Current channels:
- https://repo.anaconda.com/pkgs/main/win-32
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-32
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-32
- 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.
If you search for a package name on anaconda.org you can find out what channel(s) it is available on (which may not be in the default anaconda channel). In this case:
$ conda install -c auto pyttsx
See https://anaconda.org/auto/pyttsx
I should add: It appears this package has not been updated in over 6 years, and is only available for Python 2.7. So you should consider whether it is a good idea to use it and if there isn't a better, currently maintained alternative.