Hi guy
I tried to call Eikon library from my python with PyCharm but I received the follow message.
Intead if I use Jupyter Notebook with the same code it's ok.
Can anybody explain me why?
Thankyou very much.
PS I use Python 3.8 and Eikon 1.2.1
C:\Users\Denis\AppData\Local\Programs\Python\Python38\python.exe "C:/Users/Denis/Documents/Python Scripts/Ultimo16.11.2021.py"
2021-11-30 19:02:22,850 P[10756] [MainThread 3876] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2021-11-30 19:02:22,850 P[10756] [MainThread 3876] Port number was not identified, cannot send any request
2021-11-30 19:02:22,851 P[10756] [MainThread 3876] Port number was not identified.
Check if Eikon Desktop or Eikon API Proxy is running.
Traceback (most recent call last):
File "C:/Users/Denis/Documents/Python Scripts/Ultimo16.11.2021.py", line 2, in <module>
ek.set_app_key('da7a4b793dcf4459968a5cc095a80c1618e9cf2b')
File "C:\Users\Denis\AppData\Local\Programs\Python\Python38\lib\site-packages\eikon\Profile.py", line 33, in set_app_key
get_profile().set_app_key(app_key)
File "C:\Users\Denis\AppData\Local\Programs\Python\Python38\lib\site-packages\eikon\Profile.py", line 231, in set_app_key
self.check_profile()
File "C:\Users\Denis\AppData\Local\Programs\Python\Python38\lib\site-packages\eikon\Profile.py", line 354, in check_profile
raise EikonError(-1, 'Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.')
eikon.eikonError.EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.