How to install textatistic package - python

I want to install textatistic package on my Jupyter/ Anaconda/ Windows64 platform.
I tried to run conda install -c conda-forge textatistic from Anaconda command prompt as an administrator.
It is throwing up error - PackagesNotFoundError: The following packages are not available from current channels:.
Appreciate inputs.

I tried this myself and it gave the same error. I then followed the instructions from the error:
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.
According to https://anaconda.org, the package textatastic doesn't exist.

Related

packageNotFound when trying to install web3.py

I have multiple issues installing packages with having both Python and Anaconda installed. I have now got a clean install of anaconda and previous PIP installations removed.
I am unable to install web3.py still, when installing via the Anaconda environment / VScode I receive this error:
PackagesNotFoundError: The following packages are not available from
current channels:
web3
Current channels:
https://conda.anaconda.org/mamba/osx-arm64
https://conda.anaconda.org/mamba/noarch
https://conda.anaconda.org/conda-forge/osx-arm64
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.
I can see it is available but receiving this message. Would really appreciate any insight.
I was expecting to install without issue via $
conda install -c conda-forge web3
Conda Forge does not default (yet) to building packages for osx-arm64 platform. Instead, users must request an osx-arm64 build by adding it to the migration list via a Pull Request (see documentation). This has now been done for web3, but will take time to get approved and processed.
In the meantime, alternatives are:
Install from PyPI.
Emulate an osx-64 environment using CONDA_SUBDIR environment variable. Similar procedure as this answer.

Manual install of python module repo

I'm trying to install the package seen in these places: github, conda-forge, or pypi
So far I've tried a number of commands (NOTE: using windows, and anaconda prompt as administrator. You can see console output I posted here):
pip install git+git://github.com/dls-controls/cothread
conda install cothread
conda install -c conda-forge cothread
conda install -c conda-forge/label/cf202003 cothread
But in all cases, it's either PackagesNotFoundError: The following packages are not available from current channels: or fatal: unable to connect to github.com: github.com[0:140.82.113.3]: errno-Unknown error.
Now, I'm thinking I'll try a manual git clone, then go to the install folder and run pip install setup.py or python setup.py install. (something I think sounds good, but haven't done before) But I'm not sure where the proper place to clone it is. I'd like to add it to my anaconda environment named py310 (it's running 3.10.2). Does pip install automatically move a copy of it for me to the correct location? I want to do this right so that I keep some order to my configuration, and to help ensure that it's minimally confusing should I have to address some version issue in the future.
Thank you for any and all help!

Work computer python package installation fail

i try to install a package sklearn-crfsuite https://pypi.org/project/sklearn-crfsuite/#files on my working computer in windows, where I do not have admin rights. Besides the root enviorment I already created my own enviorment following called: Test.
Normally I use anacando navigator to install new packages, there everything works fine, but this package is not in anaconda navigator, so I am opening the anaconda prompt /conda prompt to install in manually. Here the problem starts.
I start by choosing the right enviorment in the command line:
activate Test
I installed pip and scikit already and have the python version 3.6.8. So I try to run the following command:
pip install sklearn-crfsuite
And I get the error: Could not find a version that satisfies the requirement sklearn-crfsuite
Error: no matching distrubation found for sklearn-crfsuite
I found a soluation on my own, for everyone who will have this problem at some time, search for the package on anaconda cloud:
https://anaconda.org/derickl/sklearn-crfsuite
the command is changing just a little bit then:
conda install -c derickl sklearn-crfsuite
where derickl denotes the cloud.

How do I go about installing packages into Anaconda?

I've been looking everywhere and cannot find a robust explanation.
I'm brand new to Python, coming from R. I had no issues installing packages there but I'm finding it to be rather confusing in Python.
So, I'm using Anaconda and I want to install this package into Python. It mentions using the conda install -c https://conda.anaconda.org/amueller wordcloud command but I have no idea where I'm supposed to run it.
Any advice would be much appreciated.
If you can't find a package with a simple conda search from the command line, run a search on the Anaconda website.
In your case, you'll find that the contributor amueller has his own channel and the package wordcloud is available.
Just run conda install -c amueller wordcloud=1.2.1 to install it.
You might want to create a separate environment using conda create first.
Run it from command line. You can directly install using pip as mentioned in the link. Don't forget to install the pre-requisite packages.
pip install wordcloud
If you are using windows, make sure your environmental path is set so that you can use the pip command directly from windows command prompt. Usually the environmental variable is updated when you install Anaconda distribution.
Conda is just another command which you can use to install packages. Procedure is exactly the same.
You may install packages from interface
Interface

Install Python package: "Package missing in current win-64 channels"

I want to install GSEApy on Anaconda (I use 64bit Windows 10).
https://bioconda.github.io/recipes/gseapy/README.html
https://anaconda.org/bioconda/gseapy
But I get this error:
C:\Windows\system32>conda install gseapy
Using Anaconda Cloud api site https:// api.anaconda.org
Fetching package metadata ...........
Solving package specifications: .
Error: Package missing in current win-64 channels:
- gseapy
You can search for packages on anaconda.org with
anaconda search -t conda gseapy
How can I solve this?
You need to use a channel that has a win-64 version. Use:
conda install -c bioninja gseapy
The option -c or --channel allows to specify a channel.
You can also add a channel permanently via:
conda config --add channels bioninja
This creates a file .condarc in your home directory (on Windows C:\Users\<username>):
channels:
- bioninja
- defaults
You can modify this file manually. The order of the channels determines
their precedence.
Note: Files with a leading . might not be displayed
by certain file browsers. You might need to change settings to display these
files accordingly.
You can find out if a package exits for your platform by searching on Anaconda. Just type gseapy in the search field and you should see the available packages. The column "Platforms" shows if a "win-64" version exists.
Now you could install lastest gseapy through bioconda, too
conda install -c bioconda gseapy
Check the latest version of Keras from the Anaconda Cloud website
https://anaconda.org/search?q=keras
Use command:
conda install -c conda-forge keras=<version>
Maybe it need you to specify a detalied version,so you can just find a version support your environment in Anaconda Clound,just a line of command like "conda install -c dhirschfeld protobuf=3.0.0a3.post418+g0cb84ee ",I select this and it works.

Categories