I am trying to deploy my first Django application to Heroku. I'm using anaconda for python, and following Deploying Python from Heroku, and the recommendation is to use django_heroku package.
I cannot find this package and get the following message when using:
conda install django_heroku.
Does anyone know where this package is? Is this necessary, or is there another way?
PackagesNotFoundError: The following packages are not available from current channels:
- django_heroku
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/win-64
- https://repo.anaconda.com/pkgs/pro/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-forge/win-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.
Related
When trying to upgrade my anaconda distribution I keep getting the following error:
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- pkgs/free/win-64::anaconda==4.4.0=np112py36_0 -> bzip2==1.0.6=vc14_3
- pkgs/free/win-64::anaconda==4.4.0=np112py36_0 -> cryptography==1.8.1=py36_0
[loads of similarly cryptic packages names]
- pkgs/free/win-64::anaconda==4.4.0=np112py36_0 -> vs2015_runtime==14.0.25123=0
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
- https://conda.anaconda.org/conda-forge/win-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.
This is raised no matter what or how I try to install/update:
It is raised both with conda update --all and conda update numpy or any other package I tried, so this should not be due to some specific package that is not in the channel.
It is even raised when I try to update anaconda itself by conda update -n root conda.
I have tried updating numpy from Anaconda navigator.
Because of this question I added conda-forge to my channels - to no avail.
Grateful for any help.
EDIT: I finally solved this by completely removing and reinstalling Anaconda3, but I still lack an understanding of what exactly has originally caused the problem.
So, to calculate Hausdorff Distance in a short time I found a CuSpatial library or cudf library. But while trying to install it through the Anaconda Promt conda install -c rapidsai-nightly cuspatial i get the following:
PackagesNotFoundError: The following packages are not available from current channels:
cuspatial
Current channels:
https://conda.anaconda.org/rapidsai-nightly/win-64
https://conda.anaconda.org/rapidsai-nightly/noarch
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
Sorry, but no win-64 builds are available for that on Anaconda Cloud. The developers only seem to support Linux 64, but I suppose if you're adventurous you can attempt a build from source.
I have a Python 3 environment inside Visual Studio 2017. I have been trying to install "camelot" package, which required "ghostscript" and "tk" (tkinter) packages to be pre-installed. I was successful in installing "tk", but no luck with "ghostscript". When I try to install "ghostscript", I get an error stating-
----- Installing 'camelot' -----
Solving environment: ...working... failed
PackagesNotFoundError: The following packages are not available from current channels:
- camelot
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/win-64
- https://repo.anaconda.com/pkgs/pro/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.
----- Failed to install 'camelot' -----
Any help regarding this would be much appreciated
P.S- I have downloaded the "ghostscript" executable file and added it to the path of environment variables
I had been trying to install "ghostcript" just as a pre-requisite for "camelot". I visited this website- https://anaconda.org/conda-forge/camelot-py and entered "conda install -c conda-forge camelot-py" in Visual Studio's Python environment. And it worked!
conda install is prefixed to every package you enter. Hence just enter "-c conda-forge camelot-py " in the python environment tab.
I'm using Anaconda. When I do conda list it shows me that currently scikit-learn 0.19.1 is installed. I would like to upgrade to 0.19.2, so I'm doing
conda config --append channels conda-forge
conda install scikit-learn=0.19.2
But then I'm getting the following error:
PackagesNotFoundError: The following packages are not available from current cha
nnels:
- scikit-learn=0.19.2
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/win-64
- https://repo.anaconda.com/pkgs/pro/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
How can I install scikit-learn 0.19.2?
scikit-learn==0.19.2 You're missing a second = sign, so it's not finding the package
$ pip install scikit-learn=0.19.1
Invalid requirement: 'scikit-learn=0.19.1'
= is not a valid operator. Did you mean == ?
I am not able to install Asyncio using conda here. All links give the same error:
PackagesNotFoundError: The following packages are not available from current channels:
- asyncio
Current channels:
- https://conda.anaconda.org/mutirri/label/bokeh-deps/osx-64
- https://conda.anaconda.org/mutirri/label/bokeh-deps/noarch
- https://repo.continuum.io/pkgs/main/osx-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/osx-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/osx-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/osx-64
- https://repo.continuum.io/pkgs/pro/noarch
Is there a workaround to install Asyncio to anaconda ( I use Anaconda3 on Mac OSX)?
Thank you
asyncio is a part of Python standard library.
You don't need to do extra steps to install it -- the library is already in your batteries.