Script in /usr/bin doesn't see my packages

Discussion in 'Python' started by Filip Gruszczyński, Mar 1, 2009.

  1. I have used distutils to install a python package and a script, that
    runs a program. Everything seemed ok, when I run interpreter I can
    import stuff, that I have just installed. But when I run script that
    was installed into /usr/bin it can't import anything. This happens
    also with my test scripts: i put an import statement there and run
    them (they are outside of development directory) and they import stuff
    just the way they should. But when I put them into /usr/bin they stop.
    Could anyone help me on this?

    --
    Filip Gruszczyński
     
    Filip Gruszczyński, Mar 1, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Salerno
    Replies:
    30
    Views:
    1,970
    Stephan Kuhagen
    Aug 10, 2006
  2. Yves Dorfsman

    #!/usr/bin/env python vs. #!/usr/bin/python

    Yves Dorfsman, May 2, 2008, in forum: Python
    Replies:
    27
    Views:
    2,012
    Tim Roberts
    May 10, 2008
  3. TsanChung
    Replies:
    4
    Views:
    1,237
    TsanChung
    Sep 21, 2008
  4. anne001
    Replies:
    1
    Views:
    480
  5. Gilles
    Replies:
    7
    Views:
    563
    Matej Cepl
    Sep 30, 2012
Loading...

Share This Page