this works in one of my virtual environments but not in another. Can you tell me how to find what package I have to have installed for this to work.
@barry.chapman
I checked with Eikon 1.1.18 and it uses the following libraries.
You are using Eikon 1.1.10 and the versions of libraries on the non-working machine are newer than the working machine.
Please follow steps in the Eikon Data API and Refinitiv Data Library - Troubleshooting article and share the results. You may need to upgrade the library to the latest version on the non-working machine.
Thank you for reaching out to us.
Please refer to the Eikon Data API and Refinitiv Data Library - Troubleshooting article to make sure that Eikon or Refinitiv Workspace is running properly on the machine.
I think Eikon is installed properly from what I could see. The code I have a problem with works in one Python Environment but not in another. I previously pasted in the pip list from the working and non-working environments in an answer to this question, but I can't now see that post.
Workspace is installed and running. The same line of Python works in a different Python environment.
This is the package list of the environment in which the code does not work:
Package Version
-------------------- --------
anyio 3.7.0
appdirs 1.4.4
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
attrs 23.1.0
Babel 2.12.1
backcall 0.2.0
beautifulsoup4 4.12.2
bleach 6.0.0
certifi 2023.5.7
cffi 1.15.1
charset-normalizer 3.1.0
circlify 0.15.0
colorama 0.4.6
cycler 0.11.0
DatastreamDSWS 1.0.9
DateTime 4.3
debugpy 1.6.7
decorator 5.1.1
defusedxml 0.7.1
deprecation 2.1.0
eikon 1.1.10
entrypoints 0.4
exceptiongroup 1.1.1
fastjsonschema 2.17.1
greenlet 2.0.2
h11 0.14.0
httpcore 0.17.2
httpx 0.24.1
idna 3.4
importlib-metadata 6.6.0
importlib-resources 5.12.0
ipykernel 6.16.2
ipython 7.34.0
ipython-genutils 0.2.0
jedi 0.18.2
Jinja2 3.1.2
json5 0.9.14
jsonschema 4.17.3
jupyter_client 7.4.9
jupyter_core 4.12.0
jupyter-server 1.24.0
jupyterlab 3.0.15
jupyterlab-pygments 0.2.2
jupyterlab_server 2.22.1
kiwisolver 1.4.4
MarkupSafe 2.1.2
matplotlib 3.4.2
matplotlib-inline 0.1.6
mistune 2.0.5
nbclassic 0.5.6
nbclient 0.7.4
nbconvert 7.4.0
nbformat 5.8.0
nest-asyncio 1.5.6
notebook_shim 0.2.3
numpy 1.20.3
packaging 23.1
pandas 1.2.4
pandocfilters 1.5.0
parso 0.8.3
patsy 0.5.3
pickleshare 0.7.5
Pillow 9.5.0
pip 23.1.2
pkgutil_resolve_name 1.3.10
plotly 4.14.3
prometheus-client 0.17.0
prompt-toolkit 3.0.38
psutil 5.9.5
pycparser 2.21
Pygments 2.15.1
pyodbc 4.0.27
pyparsing 3.0.9
pyrsistent 0.19.3
python-dateutil 2.8.2
pytz 2023.3
pywin32 306
pywinpty 2.0.10
pyzmq 25.1.0
requests 2.31.0
retrying 1.3.4
scipy 1.7.3
Send2Trash 1.8.2
setuptools 68.0.0
six 1.16.0
sniffio 1.3.0
soupsieve 2.4.1
SQLAlchemy 1.4.15
statsmodels 0.12.2
terminado 0.17.1
tinycss2 1.2.1
tornado 6.2
traitlets 5.9.0
typing_extensions 4.6.2
urllib3 1.25.10
wcwidth 0.2.6
webencodings 0.5.1
websocket-client 0.57.0
wincertstore 0.2
zipp 3.15.0
zope.interface 6.0
This is the package list of the environment in which it does work:
------------------- ---------
anyio 2.2.0
argon2-cffi 20.1.0
async-generator 1.10
attrs 20.3.0
Babel 2.9.0
bleach 3.3.0
certifi 2020.12.5
cffi 1.14.5
chardet 4.0.0
colorama 0.4.4
cycler 0.10.0
DatastreamDSWS 1.0.10
decorator 4.4.2
distlib 0.3.1
entrypoints 0.3
filelock 3.0.12
greenlet 1.0.0
h11 0.12.0
httpcore 0.12.3
httpx 0.17.1
idna 2.10
importlib-metadata 3.10.0
ipykernel 5.5.0
ipython 7.22.0
jedi 0.18.0
Jinja2 2.11.3
json5 0.9.5
jsonschema 3.2.0
jupyter-client 6.1.12
jupyter-core 4.7.1
jupyter-packaging 0.7.12
jupyter-server 1.5.1
jupyterlab 3.0.12
jupyterlab-pygments 0.1.2
jupyterlab-server 2.3.0
kiwisolver 1.3.1
MarkupSafe 1.1.1
matplotlib 3.4.0
mistune 0.8.4
nbclassic 0.2.6
nbclient 0.5.3
nbconvert 6.0.7
nbformat 5.1.2
nest-asyncio 1.5.1
notebook 6.3.0
numpy 1.20.2
packaging 20.9
pandas 1.2.3
pandocfilters 1.4.3
parso 0.8.1
patsy 0.5.1
Pillow 8.1.2
pip 21.1.1
prometheus-client 0.9.0
prompt-toolkit 3.0.18
pycparser 2.20
Pygments 2.8.1
pyparsing 2.4.7
pyrsistent 0.17.3
python-dateutil 2.8.1
pytz 2021.1
pywin32 300
pywinpty 0.5.7
pyzmq 22.0.3
requests 2.25.1
retrying 1.3.3
rfc3986 1.4.0
scipy 1.6.2
Send2Trash 1.5.0
setuptools 56.2.0
six 1.15.0
sniffio 1.2.0
SQLAlchemy 1.4.3
terminado 0.9.4
testpath 0.4.4
tornado 6.1
traitlets 5.0.5
typing-extensions 3.7.4.3
urllib3 1.26.4
virtualenv 20.4.6
wcwidth 0.2.5
wheel 0.36.2
zipp 3.4.1
zope.interface 5.3.0