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. Advertisements

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. Goblin
    Replies:
    1
    Views:
    8,837
  2. Parzival
    Replies:
    4
    Views:
    58,432
    Erik Max Francis
    Nov 10, 2003
  3. John Salerno
    Replies:
    30
    Views:
    2,457
    Stephan Kuhagen
    Aug 10, 2006
  4. Yves Dorfsman

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

    Yves Dorfsman, May 2, 2008, in forum: Python
    Replies:
    27
    Views:
    2,515
    Tim Roberts
    May 10, 2008
  5. TsanChung
    Replies:
    4
    Views:
    1,773
    TsanChung
    Sep 21, 2008
  6. shankha
    Replies:
    0
    Views:
    954
    shankha
    May 5, 2009
  7. anne001
    Replies:
    1
    Views:
    982
  8. Gilles
    Replies:
    7
    Views:
    887
    Matej Cepl
    Sep 30, 2012
Loading...