I was looking to try out Alpha Vantage's API in Python, but I'd like to install it using Anaconda rather than pip. I'm fairly new to conda however.
I searched for alpha_vantage in conda
conda search alpha_vantage
and it says alpha_vantage is not available on my channels. Is there a way to find a channel that has it? I sort of thought that is what the search would be for.
I just built the alpha_vantage 2.0 and uploaded to anaconda.org. Its build for python 3.6 on macOS. You may download it using my channel:
conda install alpha_vantage -c hoishing
Related
I use Python and pycharm as a tool.
If you use the pip statement to install the library, you will get an error.
For example, if I want to download the torch (1.6.0) version and type pip install torch==1.6.0,
It says no version.
This is not the end, but some libraries continue to cause strange conflicts and will not be installed.
For example, if you type pip install poro to install the poro library, an unknown error pops up and the installation fails.
I'm not asking for a pororo installation.
My question is, I want to know how to download the library without relying on pycharm.
I want to download it separately from a site like pypi and put the library directly into the virtual environment (conda).
What should I do?
The following worked for me:
First, install mkl using conda:
conda install -c anaconda mkl
Then run this:
conda install -c pytorch pytorch
Hello I need to create an anaconda environment with python version = 2.7.9. The issue is that there are no ways that I can install that python version using conda. The channels that I have doesnt provide me that version, is there a way in which I can install a specific version of python using conda giving the fact that my current channels doesnt provide me the required version?
There is an archived version available on the free channel. Try
conda create -n py279 -c free python=2.7.9
I am new to python and I am having trouble downloading some new libraries that don't appear to be pre-installed. The names of them are rasterio and retrying. I continuously get an invalid syntax error, and I have tried using some different suggestions found online.
pip install rasterio
Above is the way I was attempting to do it, and I also tried without the pip in there, but neither option worked. I am new enough to the language that troubleshooting is very difficult. Any help is greatly appreciated!
There are several ways to install rasterio, using anaconda you have the documentation here: https://anaconda.org/conda-forge/rasterio
If you are on windows installing rasterio using pip install can be difficult since it requires binary wheels, but here is the tutorial: https://rasterio.readthedocs.io/en/latest/installation.html
I advise you to use linux since it is much easier to install packages, you can either install a dual boot or a virtual box.
I suppose you are using Spyder IDE with Anaconda. So, to install rasterio package you can open anaconda prompt and type:
conda install -c conda-forge rasterio
For further information about package installation check out this link.
Also, to install any conda packages just google it once, you will find instructions to install it mostly in anaconda's official site.
Edit:
Please remove the rasterio package once. And install it again, see if works. If it doesn't work create a new environment like: conda create --name myenv. Then install rasterio again.
If this still doesn't work, try to install rasterio from here like conda install -c ioos rasterio.
At time of writing, alpha version 3.8.0a4 of python is available. I would like to do some testing in a conda env before it is GA (for both educational purposes and to satisfy some curiosities).
When trying to conda install 3.8 I am getting a PackagesNotFoundError error. Are alpha/beta versions of python simply unavailable through conda channels or is there perhaps an alternate conda channel where this might be found?
I know the latest version can be found on python.org in downloads/release but was really hoping for availability in a conda channel, if possible.
3.8.0a3 can be downloaded using conda-forge, which is a custom channel for conda. You can see the package listed here, with version 3.8.0a3 being labelled as pre-3.8. Unfortunately, it doesn't look like 3.8.0a4 is available yet.
conda install -c conda-forge/label/pre-3.8 python
There is an open issue on conda-forge for adding 3.8.0a4.
I am trying to work with opencv 3.0 on my Mac OS 10.12.6
I am working with Anaconda in a python 3.5 environment, and have tried the following command in terminal:
conda install -c jlaura OpenCV3
from the following: https://anaconda.org/search?q=platform%3Aosx-64%20opencv3
However, this ends up giving the following output/error:
PackageNotFoundError: Packages missing in current channels:
opencv3 -> tbb
We have searched for the packages in the following channels:
(This is followed by a number of links, which stack overflow will not let me post as I don't have enough rep yet)
What is the best way to get opencv 3.0 on conda with a python 3.5 environment?
I need this because I am trying to implement the following: https://github.com/datitran/object_detector_app
Thanks
I essentially had to reinstall python 3.5 using:
conda install python=3.5
and then get the opencv 3.0 version like so:
conda install -c jlaura opencv3
And that did it.
I ran into the exact same problem, trying to use the same repo, however the above did not work for me. Eventually I was able to download openCV 3.0.0 by running
conda install -c memex opencv
If this has for some reason deprecated, you can always search for another option on the anaconda cloud website. Just ctrl-f for 3.0.0 and find a package that includes your platform (osx in my case).