blpapi Bloomberg - Python prog. vs. BBG Interaction - python-2.7

I'm quite new to Python (Got forced to use it since BBG don't support R), and i'm having difficulty installing blpapi. I'm currently using Spyder and Python 2.7 version.
Does anyone on this forum had already used python to send orders to Bloomberg and manipulate data provided by the terminal? If Positive, could you pls share how you've installed the API Libs and any other useful stuff. The idea is to feed a certain model with live data.
There's an .exe file in the Zip that you download from WAPI , but there's an error message appearing. I've already tried to speak with a BBG represent. but that does not helped.
Regards,

Related

Getting started with xlwings

I'm a reasonably experienced Excel developer and recently watched a couple of video demos of xlwings. I decided to learn more, but I'm finding it very difficult getting started. Do I need Python or other programs installed on my PC before installing xlwings? Are there VBA references I need to set up in advance? Any clues you can provide to this rank beginner will be deeply appreciated.
xlwings is a Python package and hence you need a Python installation to get started. Have a look at dependencies listed under http://docs.xlwings.org/en/stable/installation.html. Note that the Anaconda distribution gets you started most easily as it is a single-click installer that already comes with xlwings and all the dependencies preinstalled.

nfcpy python 2.7 pyinstaller

I am working on project that reads near field communication card and identifies the card user, I am using nfcpy with python 2.7, my nfc card reader is acr122 by ACS and I am working on windows 10. The application seems to be working fine when I run the python script. However, when I convert the python script to .exe using pyinstaller I have error "no module named acr122". Is there any specific protocol I have to follow to bundle nfcpy in exe file. Any help would be much appreciated, Thank you in advance.
finally, found a solution, I need to import ['nfc.clf.acr122'] as hidden-input.

pyinstaller issue with requests 'ImportError: No module named 'requests.packages.chardet.sys'

I have encountered this issue and tried all previous solutions to no avail. Have tried rolling back requests to older versions, have tried updating pyinstaller. Please guys, if you know a configuration that works, let me know.
I am compiling some python 2.7 code that uses Kivy
I am an idiot. I was piping the wrong python install. I use a separate version for other projects, and I sandbox my kivy one to prevent conflicts... too bad I forgot about that :)

'module' object have no attribute

I have been searching this site and googling around to find a problem similar and of course a solution for that. But no success.
My problem is:-
Each time when I try to run my python module (any .py file) using CMD python OR simply by double click. I am getting the Attribute Error as you can see in the picture.
Link to the picture as I couldn't post the picture due to 10 reputation limitation.
https://drive.google.com/file/d/0BztaImknhgDFdzhZVXBWWk45MGs/view?usp=sharing
one thing, I want to mention here is that I have installed python many a time with in a period of 3 days to suit my project needs.
Solutions I have tried:-
1. I have re-installed my Python to a new directory.
2. Rebooted many times.
My Current Python version 2.7.9 64bit, Pyscripter 64 bit and windows 7 64bit.
Any help would be appreciated..!!
The problem is solved!
I was missing
if __name__ == '__main__':
statement.

PyQt-win-gpl-4.11.1 installation

I saw there was a previous question about installing PyQt on a Mac, but unfortunately I'm not quite able to comment on the thread so I had to post a new question. Like that user, I have been having issues downloading QT 4.11.1. I downloaded SIP as well as PyQT4 (link to instructions), but when I try to run python configure-ng.py from my downloads folder, I keep getting the same error saying:
Error: Use the --qmake argument to explicitly specify a working Qt qmake.
Unfortunately I can't find the Qt settings which means I can't keep following the directions from the previous answer and I was hoping someone might be able to help walk me through how to download this module. Sorry for the duplication and thanks in advance.