matthewgilbert / pdblp

pandas wrapper for Bloomberg Open API
MIT License
241 stars 68 forks source link

AttributeError: module 'pdblp' has no attribute 'BCon' #67

Closed jackoyan closed 5 years ago

jackoyan commented 5 years ago
import pdblp
con = pdblp.BCon(debug=True, port=8194, timeout=5000)
AttributeError                            Traceback (most recent call last)
<ipython-input-2-c21da45c1c9e> in <module>
      1 import pdblp
----> 2 con = pdblp.BCon(debug=True, port=8194, timeout=5000)
      3 
      4 # con.start()

AttributeError: module 'pdblp' has no attribute 'BCon'
jackoyan commented 5 years ago

can anyone help with this please?

matthewgilbert commented 5 years ago

You have likely improperly installed the library or have something in your path masking the library. I would ask this question on Stack Overflow since it is a general python question about installing a library / general python path issue.

jackoyan commented 5 years ago

Thanks, in my folder a had a file of the same name of the module, sorry... Problem solved!