Python Forum
Installing blpapi in two different conda environments
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing blpapi in two different conda environments
#1
Hello,
I want to install blpapi (i.e. the bloomberg python api in two different environments in Anaconda:

conda create –n Env1 python=2.7
conda create –n Env2 python=3.6

i want to install blpapi in both environments. So i do the following:

conda install -n Env1 blpapi
conda install -n Env2 blpapi

the first installation succeeds but the second fails with the following error:
Quote:Fetching package metadata ...............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
- blpapi -> python 2.7*
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.

Is it not possible to do what i want to do? What am i doing wrong and is there any solution to my problem?

to correct myself, the two lines for installing the blpapi are:
conda install -n Env1 -c dsm blpapi
conda install -n Env2 -c dsm blpapi
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice on using virtual environments in Python bytecrunch 6 643 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Confused over Conda Package manager vs PIP JanOlvegg 3 1,161 Mar-09-2023, 02:09 PM
Last Post: JanOlvegg
  Virtual Environments - Organization (VS Code) JaysonWonder 11 1,768 Jan-26-2023, 11:34 PM
Last Post: Larz60+
  How to deactivate correctly a conda environment NoNameoN 2 1,807 Nov-04-2022, 01:43 PM
Last Post: NoNameoN
  Keeping up with IDEs and Virtual Environments... bytecrunch 7 2,365 Sep-05-2022, 08:04 PM
Last Post: snippsat
  I don't understand pip and environments snakes 3 1,200 Jul-31-2022, 08:17 PM
Last Post: snakes
  SSL error while trying to update conda ilango 0 2,121 Nov-04-2021, 08:38 AM
Last Post: ilango
  Use different Anaconda environments on Linux Mint and Spyder StaLLoNe_CoBRa 0 1,839 Jan-20-2021, 03:12 AM
Last Post: StaLLoNe_CoBRa
  pip and venv virtual environments soupworks 2 2,230 Dec-30-2020, 11:38 PM
Last Post: soupworks
  Error: How to to close and restart your shell after running 'conda init' angelica 3 10,176 May-27-2020, 10:00 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020