Having trouble installing the most recent version of awswrangler on conda environment - python

My current conda environment is running python 3.8.5.
When I look at their documentation, it shows that the newest version is 2.5.0. For some reason, when I initially installed it via conda install -c conda-forge awswrangler, it installed version 0.3.1.
When I try to run :
conda install -c conda-forge awswrangler==2.5.0
It has issues solving the environment.

There was an issue in AWS Data Wrangler with incompatible dependencies, but this has now been solve. Can you try and build your environment again and see if the issue has now been fixed?
Thanks
Nick

Related

Anaconda3 - Ignore PackagesNotFoundError [duplicate]

I am trying to set up a conda environment with python 3.10 installed. For some reason, no install commands for additional packages are working. For example, if I run conda install pandas, I get the error:
PackagesNotFoundError: The following packages are not available from current channels:
- python=3.1
conda install -c conda-forge pandas doesn't work either. Not sure what the problem is.
Thats a bug in conda, you can read more about it here: https://github.com/conda/conda/issues/10969
Right now there is a PR to fix it but its not a released version. For now, just stick with
conda install python=3.9
Adding an answer as this issue has been fixed in the latest conda update. I faced the same issue in conda version 4.10.1 but it worked fine in version 4.11.0.
Update conda to the latest version with
conda update -n base -c defaults conda
Now install the required packages.
conda install -n py310 python=3.10 works for me.
Conda 4.10 is incompatible with python 3.10.
To use python 3.10 or newer, you need to update to conda 4.11+. If you cannot update conda, you need to revert to python 3.9 or older.
Read more on the on the link provided by vbraun. This reply is to clarify possibilities for the users.
Can also use the conda-forge channel:
conda install -c conda-forge python=3.10
We must create a new environment with latest version of python and change to this new environment inside anaconda navigator

cvxpy : python optimization library, issues installing using Conda

I used the following command below in the Anaconda shell prompt, I am on windows 7.
When I installed in Anaconda Navigator I got a much older version of
cvxpy version 0.4.10 instead of : win-64 v1.0.1.
Here is the details on the conda site:
===============================
https://anaconda.org/cvxgrp/cvxpy
Installers
conda install
linux-64 v1.0.6
win-64 v1.0.1
osx-64 v1.0.6
noarch v0.4.2
To install this package with conda run:
conda install -c cvxgrp cvxpy
=================================
I am wondering if the author of this package may not have properly
setup the more current version on Conda.
This has occurred with other python packages in the past on Conda.
Hope someone would know how to get this installed.
I actually tried to follow the instructions based on another question, but it did not work. See my reasons below in the comment section.

How to install Gensim version 0.11.1 on Windows 10 Machine?

I have anaconda and Pip installed. I tried doing
conda install -c anaconda gensim-0.11.1
but it couldn't find the package and the following msg was thrown on the PowerShell.
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ......
Solving package specifications: .
Error: Package missing in current win-64 channels:
- gensim-0.11.1
You can search for this package on anaconda.org with
anaconda search -t conda gensim-0.11.1
Any help would be appreciated. Thanks!
--Conda works well with the machine but even help with Pip would be appreciated.
Any reason you need the 0.11.1 version? That version hasn't been specifically built as a conda package apparently.
At the moment, conda install gensim will easily give you version 0.12.4.
If you really need version 0.11.1, first
conda install scipy pip
then
pip install gensim==0.11.1

Anaconda Zipline Installation Error

I've been trying to install Quantopian zipline (http://www.zipline.io/) python package through Anaconda, but have not been able to. When I run either of the lines below
conda install -c Quantopian zipline
conda install --channel https://conda.anaconda.org/Quantopian zipline
in the Anaconda prompt, I get a short pause and the message
Fetching package metadata...
Solving package specification..
Error: package missing in current win-64 channels:
-zipline
However, if I run the search command "anaconda search -t conda zipline" I can see that Quantopian/zipline has a win-64 compatible package.
I have a 64-bit Windows 8.1 with conda ver 4.0.5.
Please check if the latest zipline has been build in their channel.
the same error happened to one of my colleagues with the last version of zipline (1.1.0) and mac OsX.
We figured out that the guys at Quantopian didn't publish a build for that OS.
Workaround:
1 - try to install zipline via pip (as they say in the guidelines)
or
2 - Download the source code ad build it by yourself :-)
These are the Requirements/ Steps to Make Zipline Work:
Install Microsoft Visual C++ 2010 Express
Download and install python 3.4
Download zipline from github and Extract in C:/
Set Anaconda as project interpreter
Since zipline is compatible with Python 3.4, you need to create an environment with Python 3.4
Run this command in console of IDE:
$conda create -n python34 python=3.4 anaconda(replace py34 with the location of python34 folder)
Now run this command in console:
$activate python34 #Activates the python 3.4 environment
$pip install -e C:\GitHub\zipline (Directory where you extracted zipline)
Ingest data from quandl with below command
$zipline ingest
Hope this helps.
The latest Zipline-Trader version was released. For stable version pip install zipline-trader For more info follow docs for installation.

How to install PyTables 2.3.1 with Anaconda, missing HDF5 library

I need to run an older verion of PyTables, that is 2.3.1, in and Anaconda environment on Linux. But I cannot install it.
conda install -n myenv pytables=2.3.1
fails finding the appropriate version.
conda install -n myenv pytables=2
installs PyTables 2.4.0 successfully. But I need 2.3.1.
Also activating the environment and installing via pip does not work.
pip install tables==2.3.1
fails with the following error:
.. ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the HDF5_DIR environment
variable or by using the --hdf5 command-line option.
Where can I find the HDF5 installation of Anaconda? And how do I pass the --hdf5 option to pip? I already tried
pip install tables==2.3.1 --install-option="--hdf5=/home/me/Programme/anaconda"
But it also fails with the same error as above.
You can try
env HDF5_DIR="/home/me/Programme/anaconda" pip install tables==2.3.1
It worked for me.
I was trying to install a completely different package with pip on a new conda environment when I got the same error.
conda install -c conda-forge pytables
This helped me to get rid of the error and successfully install the package.

Categories