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
  How to package code for different python environments mayukun 2 1,195 Jul-17-2025, 11:36 AM
Last Post: snippsat
  Windows, Linux and virtual environments Calab 2 1,122 Mar-07-2025, 10:43 PM
Last Post: snippsat
  Python use of virtual environments bre67e49 4 1,790 Feb-19-2025, 04:01 AM
Last Post: Sece1967
  will using conda fix my frustration? snakes 4 2,228 Jul-24-2024, 06:32 AM
Last Post: buran
  Best practice on using virtual environments in Python bytecrunch 6 33,654 Feb-14-2024, 03:22 PM
Last Post: snippsat
  Confused over Conda Package manager vs PIP JanOlvegg 3 10,692 Mar-09-2023, 02:09 PM
Last Post: JanOlvegg
  Virtual Environments - Organization (VS Code) JaysonWonder 11 5,737 Jan-26-2023, 11:34 PM
Last Post: Larz60+
  How to deactivate correctly a conda environment NoNameoN 2 8,176 Nov-04-2022, 01:43 PM
Last Post: NoNameoN
  Keeping up with IDEs and Virtual Environments... bytecrunch 7 11,605 Sep-05-2022, 08:04 PM
Last Post: snippsat
  I don't understand pip and environments snakes 3 3,049 Jul-31-2022, 08:17 PM
Last Post: snakes

Forum Jump:

User Panel Messages

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