Anaconda Navigator PIP Python-Firebase Package Won't Install - python

I am having issues with having Conda install the library at this link:
https://github.com/ozgur/python-firebase
I am running: conda install python-firebase
This is the response I get:
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:
- python-firebase
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.
Does anyone have a solution? I successfully installed it through pip, but I can't get the package in the Conda environment.
Python 3.7.4

You have to run this
conda install -c auto python-firebase
Take a look at this

Checking https://anaconda.org/search?q=firebase you can see that there is only one entry that has win64 listed on the right side. Since you are running on windows, you need to select that one and then enter the correct installation command:
conda install -c nayyaung python-firebase
(Note that the channel auto suggested in other answers has only linux-64 available)
As to your question from the comments:
I guess I was asking if theres anyway for Conda to pull libraries out of my PIP env
I don't really know what you mean by pull from my pip env. If that means somehow pointing to the site-packages of another python installation, then no, this would be rather difficult to implement I guess. However, you can always pip install any package from pypi to your conda environments if they are not available for win64 from the conda channels. Also Read This on using pip in conda environments

Try doing conda install -c auto python-firebase
Check https://anaconda.org/auto/python-firebase for further information

Related

How to install mysqlclient v2.0.1 in anaconda/conda

I try to install mysqlclient v2.0.1 in anaconda/conda
conda install -n py37 mysqlclient=2.0.1
or
conda install -c "conda-forge/label/cf202003" -n py37 mysqlclient=2.0.1
But I get such error message:
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:
- mysqlclient=2.0.1
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
Where am i wrong and how to fix it ?
Conda Forge has never built mysqlclient for win-64 platform, and Anaconda seems to have given up on the Windows builds after 1.3.14 (~3 years ago). Thus, one cannot install v2.0.1 as a Conda package.
Perhaps consider using the MySQL Connector/Python package instead, which goes by mysql-connector-python and is building for all platforms on both the defaults and conda-forge channels:
conda install mysql-connector-python
Otherwise, if insisting on mysqlclient=2.0.1, one could install it with pip install with the environment active.

Create Botometer API to Python Anaconda

I want to use the botometer API on Python. I use Sypder 5 and so I use Anaconda for the installation of packages.
I get the following message when trying to install it.
(spyder-env) PS C:\Users\xxxx> conda install botometer
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:
botometer
Current channels:
https://conda.anaconda.org/conda-forge/win-32
https://conda.anaconda.org/conda-forge/noarch
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.
Is there some other way to use botometer?
It's a pure Python library - just install it through Pip. You may want to install tweepy through Conda first though, since that is a dependency.
conda install -n spyder-env -c conda-forge tweepy
conda run -n spyder-env python -m pip install botometer

How to resolve the conda issue: PackagesNotFoundError: The following packages are not available from current channels

I am try ing to install symfit on a MacBook Pro M1 using miniforge, for processor compatibility as pip3 install symfit results into errors. However, when running conda install -c conda-forge symfit, I get:
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:
- symfit
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
- https://conda.anaconda.org/conda/osx-arm64
- https://conda.anaconda.org/conda/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.
When doing so, I find that symfit is available in the conda-forge channel! Why can't it be installed from the command line?
At the time of the question, the Conda Forge feedstock for symfit was not building for osx-arm64 platform. After an issue being filed on the feedstock, one of the maintainers updated the feedstock to generate noarch builds (platform agnostic). So, starting with version 0.5.3, what OP attempted should just work.
conda install -c conda-forge symfit
The lesson here is: Conda Forge is an open platform, so if you find something not being built, please reach out to the feedstocks or submit a Pull Request. The community depends on active feedback from users to improve.
UPDATE:
this answer was posted before OP changed to use the correct conda install -c conda-forge symfit command!
turns out at the time of question symfit has no build for "OSX_arm64" which is why the command fails
because conda install will try to install the module from the default channel...
you have to explicitly tell conda to use conda-forge!
conda install -c conda-forge symfit
-> check the doc!! https://symfit.readthedocs.io/en/stable/installation.html

PackagesNotFoundError when trying to install unrar with conda

I'm trying to install unrar with conda, with no luck. I installed other packages with no issues before.
Here's the commands I used:
user: conda activate username
user: conda install unrar
Which led to the follwing output:
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:
- unrar
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
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 looked for the package on anaconda.org and didn't find it. I also tried using the command conda install -c conda-forge unrar as instructed in a post about a similar issue. Didn't work.
Does anyone know how to solve this?
The package doesn't seem to be available for installation with conda, but you can install with pip, according to https://github.com/matiasb/python-unrar:
pip install unrar
In case you don't yet have pip installed in your environment, do conda install pip, and then install unrar with pip.

Problem by installing the googleanalytics and google2pandas to the anaconda environment

I cannot download the package googleanalytics and google2pandas to the anaconda environment
I tried conda install package
(base) C:\WINDOWS\system32>conda install google2pandas Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- google2pandas
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
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 expect that at least one of those packages will be installed
What it's saying is, that the package is not available through Conda. It doesn't seem to be available through Conda Forge either.
I have just installed Google2Pandas through pip:
pip install Google2Pandas
It's probably the same with the other package.

Categories