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.
Related
I am trying to install turicreate in anaconda but i unable to do it.
I tried to run a command
conda install -c derickl turicreate
but promt gives an error
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- turicreate
I also tried by run some other commands also but none of them able to installed turicreate....
can someone help ?
There is no official Conda package for Turi Create, and that user channel you are trying to install from has apparently switched to being private. Instead, follow the official directions and install from PyPI (after activating your env).
conda activate my_env
pip install turicreate
Do not install this in base env! Be aware that once you use pip install in a Conda env, the env is effectively unstable, and can no longer be managed reliably by Conda. For this reason, always install PyPI packages last or use an environment YAML file. If you know that the package has dependencies (they can usually be found in the setup.py) that are available from Conda, install those first through Conda. I strongly encourage following the best practice recommendations found in "Using Pip in a Conda Environment".
I am trying to install Tabula for Python, as it seems it is the way of extracting tables from PDFs. However I am unable to install it.
I am using Anaconda and have followed the step on Tabula's Anaconda page (https://anaconda.org/auto/tabula) to attempt to install it:
conda install -c auto tabula
But I just get an error message:
link here
As far as I'm aware, I have added the "auto" channel so it should be able to install it. But I guess I must be missing something. Any help much appreciated!
You could just try:
conda install -c conda-forge tabula-py
It works fine for me.
Since you are using Windows and in the link you provide I just see Linux-64 and Linux-32 I think that installing Tabula with Conda can return errors.
Activate your Conda environment and install Tabula using pip:
pip3 install tabula-py
Note
As pointed out in a comment by chezou the conda-forge way of installing Tabula seems not the best way to go if you want to keep it updated:
Conda package is supported by someone else and it seems not maintained
well.
As of Feb 24th, 2019, conda version is v1.1.1 while the latest
pypi package is 1.3.1.
I would recommend installing via pip.
Conda sources are limited to packages available in the channels you have set up. You will need to either:
Set up a channel in Conda that contains tabula.(I tried this with other pacages but couldn't figure out a working method.)
https://conda.io/docs/user-guide/tasks/manage-environments.html
Install tabula into your Anaconda environment from source.
https://docs.python.org/2/install/
use pip to install tabula in Conda environment.(you will need to install pip first)
https://github.com/ContinuumIO/anaconda-issues/issues/1429
Then:
If tabula is in pipy, this will probably work.
https://anaconda.org/conda-forge/tabula-py
To install this package with conda run one of the following:
> conda install -c conda-forge tabula-py conda install -c
> conda-forge/label/cf201901 tabula-py
I am trying to figure out how to install packages for the first time. I have downloaded Python 2.7 with the Anaconda distribution. When I go to terminal and I type:
pip install pandas-datareader
I see a message that the package was installed successfully. However, when I enter:
import pandas-datareader as pdr
into Spyder, I get the error:
No module named pandas-datareader
I think this might be because I am not installing the package in the right directory. I also tried:
conda install -c anaconda pandas-datareader
and got the same result. I know there are many posts about installing packages, but I am looking for a super basic beginner explanation for how to troubleshoot this. What directory should I save packages in? How do I navigate to that directory? How do I use terminal to download the package into that directory, etc.
Conda installs any package to a conda environment and pip installs python packages to any environment. Your best bet is to create an environment and conda install to that. For example,
conda create -n py35
activate py35
conda install package_name
Typing these into the command line will set up your environment, activate it, and install whatever package you want.
After following your link, I got it to work by entering
!pip install pandas-datareader
in the Spyder Ipython console!
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
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.