C. Ng wrote: > Hi all, > So I cloned a package xyz from github. OS is ubuntu 12.04. > Then install successfully using "sudo python setup.py install" > Now when I try to import xyz, I get "ImportError: No module named xyz" > unless my current working directory is in xyz. Appreciate your help. > Thanks.
Maybe the author called the toplevel package pyxyz or XYZ -- when you don't provide the actual package name/github url we can only guess. Or $ which python and $ sudo which python point to different Python installations. -- https://mail.python.org/mailman/listinfo/python-list