问题
I followed the answer in:
Anaconda - Install blpapi in environment
but could not comment because I don't reputation high enough. When I use conda install -c dsm/blpapi
I get the following:
Fetching package metadata ...........
Solving package specifications: ....
UnsatisfiableError: The following specifications were found to be in conflict:
- blpapi
- python 3.5*
Use "conda info <package>" to see the dependencies for each package.
This is using a virtual environment with Python 3.5 installed. Any thoughts on why this works for Pythonic
but not me?
回答1:
There is no built package for python=3.5
. If you look under the files section of the repo in the dsm channel you will see
linux-64/blpapi-3.9.0-py36_0.tar.bz2
win-64/blpapi-3.9.0-py27_0.tar.bz2
win-64/blpapi-3.5.5-py27_0.tar.bz2
linux-64/blpapi-3.5.5-py27_0.tar.bz2
Switching to Python 3.6 should get this to work.
回答2:
did you try ? :
conda update --all
conda create -n py35 python=3.5
activate py35
conda install -c dsm blpapi=3.9.0
you can also download from :
https://www.bloomberglabs.com/api/libraries/
and put it in the repository of python 3.5 library
回答3:
Since this question was posted, Bloomberg put the blpapi on conda-forge, Which has more versions of the blpapi and python supported.
https://anaconda.org/conda-forge/blpapi
来源:https://stackoverflow.com/questions/43322486/conda-install-blpapi