Nathan Willis

Arrrrrrgh!

Nathan Willis at

Why does this throw a "no module named 'xudd.tools'" ImportError?

import sys
sys.path.append("../asyncio")
sys.path.append("../xudd")
sys.path.append("../PyPump")
sys.path.append("../oauthlib")
sys.path.append("../requests-oauthlib")
sys.path.append("../dateutil")

from xudd.hive import Hive
from xudd.tools import join_id

(and not one on xudd.hive)

Nathan Willis at 2017-02-10T13:02:14Z

Yes I realize this is intro-level Python stuff in all likelihood, but (a) my brain is only wired for functional languages and (b) packaging/module-loading failures happen in project-specific ways that don't extrapolate to other systems.

Nathan Willis at 2017-02-10T18:51:14Z