Menu

How do i run my apps from cl the same way?

2011-01-25
2013-03-15
  • Alan Queirós

    Alan Queirós - 2011-01-25

    Hello there.

    My apps doesn't run from terminal, only from PyDev. I wonder how i can reproduce the PyDev parameters/settings in order to get my apps running without it.

    I've tried to fix the code in order to achieve that, but i fix one problem and another appears, and so on. And as the apps run perfectly from PyDev, I want to simply reproduce that without it.

    Can someone help me please? (I'm on Linux, Python 2.6)

    Thank you.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-01-25

    You can see the command line in: toolbar > run > run configurations, choose the run that's working for you, select the 'interpreter' tab, press 'see resulting command line for the given parameters'. it should give you the command line to use and the pythonpath you need to set for it to run.

    Cheers,

    Fabio

     
  • Alan Queirós

    Alan Queirós - 2011-01-26

    Thanks man. But the problem was PyDev uses sitecustomize by default. It's necessary to add it in PYTHONPATH to run some programs.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.