Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57900
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Subject | Re: problem importing |
| Date | 2013-10-29 11:40 +0100 |
| Organization | None |
| References | <79476abe-0eff-481b-9160-fbab4fbbcb55@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1754.1383043213.18130.python-list@python.org> (permalink) |
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
problem importing "C. Ng" <ngcbmy@gmail.com> - 2013-10-29 02:46 -0700
Re: problem importing Peter Otten <__peter__@web.de> - 2013-10-29 11:40 +0100
Re: problem importing "C. Ng" <ngcbmy@gmail.com> - 2013-10-29 20:08 -0700
csiph-web