Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on py 3 - #15

Open
psychemedia opened this issue Nov 20, 2019 · 0 comments
Open

Install on py 3 - #15

psychemedia opened this issue Nov 20, 2019 · 0 comments

Comments

@psychemedia
Copy link

psychemedia commented Nov 20, 2019

Running in Jupyter notebook / Ipython 3 shell:

!pip3 install pydbgen
import pydbgen

pydbgen.pydb()

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-c22bf096fc05> in <module>
----> 1 myDB = pydbgen.pydb()

AttributeError: module 'pydbgen' has no attribute 'pydb'

Also:

dir(pydbgen)

['__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__']

Fix is:

from pydbgen import pydbgen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant