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
Related
I want to use an older version of Julia package in my conda env. I downloaded a tar package corresponding to the required version from the website https://anaconda.org/conda-forge/julia/files but not really sure how to install this in my conda environment.
Help please!
I tried conda install julia=1.7.3 but no luck.
I'm installing cvxpy from cvxgrp. Looking a the link it clearly shows version 1.01 for win-64.
However when I go to run the install
conda install -c cvxgrp cvxpy
it downloads and installs "cvxpy-0.4.10". Updating "all" does not seem to help.
I checked conda info and it shows "platform : win-64".
conda info
Is there a conflict? How can I get the latest version?
If you look at the list of files for version 1.01, you'll see that the win-64 build is only for Python 2.7. The installation instructions seem to suggest that you should use pip to install on Windows if you're using Python 3.
i want to install hazm on anaconda3 .I use this command to install this package with downloaded package :
conda install hazm-0.4.tar.gz
or this command in pycharm :
conda install hazm
in both manner it gives me this error:
Solving environment: failed
PackagesNotFoundError: The following packages are not available from
current channels:
hazm
Current channels:
https://repo.continuum.io/pkgs/main/linux-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/linux-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/linux-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/linux-64
https://repo.continuum.io/pkgs/pro/noarch
what is the problem ?
The instruction on the hazm documentation page is to install the package using pip:
pip install hazm
pip can be used to install non-conda packages in a conda environment, if there isn't a conda package available.
Reading this question and its answers it sounds as if the latest version of hazm may not install under Windows because of a dependency issue. If you're on Windows you need to specify the 0.4 version, either with hazm==0.4 or simply by pointing to the archive you downloaded. I was able to install hazm 0.4 from the gz archive on Anaconda under Windows without errors as follows:
conda create -n testhazm python=3.4 nltk=3.0.0
activate testhazm
pip install hazm-0.4.tar.gz
(If I allowed conda to use the latest version of nltk, the installation went OK but I got an error when I actually started Python and tried to import hazm. You may be able to get it working with a more recent version of nltk and/or Python by experimenting.)
Background:
When you do conda install hazm the error message The following packages are not available from current channels: hazm means exactly what it says: the channels specified in your current conda configuration do not contain this package.
Often, packages that are not available on the default conda channels can be found on conda-forge, but I checked this with conda search hazm -c conda-forge and it looks like it's not there either.
To use the command conda install hazm-0.4.tar.gz, the downloaded file would need to be a conda package, not just a Python module.
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.
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.