Skip to content Skip to sidebar Skip to footer

Pyad: Installs Fine, But Says It Can't Find Adbase

This has me pretty confused. I've installed pyad using pip and everything seems fine: C:\WINDOWS\system32>pip install pyad Collecting pyad Using cached pyad-0.5.16.tar.gz Requ

Solution 1:

That's a bug on pyad part. They're importing adbase as if it were a standalone module or package, and that's why it does not work. The proper way to fix this would be to change the import to an absolute import from pyad.adbase import ... or relative from .adbase import ....

However, if you check the master branch on Github, you will see that they have actually fixed it. But that's not all, if you check their setup.py you'll see that the version on Github is 0.5.15, while the last version on PyPI, which is the one you have installed, is 0.5.16. Weird.

I suggest you to install the package directly from Github, and that should take care of the problem. To do that, first uninstall pyad and then run

pip install https://github.com/zakird/pyad/archive/master.zip

Post a Comment for "Pyad: Installs Fine, But Says It Can't Find Adbase"