You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with poetry in Python as a package manager. I would like to add requirements to blpapi and to another custom in-house package, located on a network drive.
Bloomberg Library
For blpapi, the instructions on the Bloomberg API Library Support page note that to install it we need to run the shell command
It installs successfully. However, when I try to add it as a poetry requirement, I get the following error:
dkreslavskiy_sym@SYMLT097 c:\src\RiskTool
> poetry add T:\IT\Carbon\python-client\sym-carbon-1.10.1.zip
Updating dependencies
Resolving dependencies... (6.0s)
Resolving dependencies... (6.1s)
AssertionError
at C:\Programs\Poetry\venv\Lib\site-packages\poetry\mixology\partial_solution.py:151 in _register
147│ name = assignment.dependency.complete_name
148│ old_positive = self._positive.get(name)
149│ if old_positive is not None:
150│ value = old_positive.intersect(assignment)
→ 151│ assert value is not None
152│ self._positive[name] = value
153│
154│ return
155│
Not sure how to get around that.
Thank you very much for your help. I have also posted this question on Stack Overflow.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with
poetryin Python as a package manager. I would like to add requirements toblpapiand to another custom in-house package, located on a network drive.Bloomberg Library
For
blpapi, the instructions on the Bloomberg API Library Support page note that to install it we need to run the shell commandand I am somewhat puzzled how to add that to poetry.
Custom Package
For the custom package, if I execute
It installs successfully. However, when I try to add it as a
poetryrequirement, I get the following error:Not sure how to get around that.
Thank you very much for your help. I have also posted this question on Stack Overflow.
Beta Was this translation helpful? Give feedback.
All reactions