matthewgilbert / pdblp

pandas wrapper for Bloomberg Open API
MIT License
240 stars 69 forks source link

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

Closed jackoyan closed 4 years ago

jackoyan commented 4 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 4 years ago

can anyone help with this please?

matthewgilbert commented 4 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 4 years ago

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