Menu

#1432 Pydev modifying easy_install.pth

closed
nobody
None
6
2011-12-13
2011-11-30
No

I'm not 100% sure of what is the source of the problem, but in short if I
- 1. create a new python interpreter in Pydev taking all the libraries
- 2. run a python script

It will remove all the entries in the global easy_install.pth that are already in
the python path set in Pydev.
This works if someone is only using eclipse, but messes up everything if he
doesn't.

Is it possible that pydev is doing something similar?

Thanks a lot,
Andrea

Discussion

  • Andrea Crotti

    Andrea Crotti - 2011-11-30
    • priority: 5 --> 6
     
  • Piotr Dobrogost

    Piotr Dobrogost - 2011-12-10

    Just for information OP asked this on SO as well -> http://stackoverflow.com/questions/8448330/

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-12-13
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-12-13

    I've tried reproducing it here without any success... (couldn't get it to mess with easy_install.pth). I saw you accepted an answer in stack overflow, does that mean that you were able to find the culprit?

    PyDev shouldn't really mess with any .pth file, all it does is launching a python process with an environment where the PYTHONPATH is configured considering the project/interpreter configurations.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-12-13

    Ok, just read your edit there that you weren't able to solve it, so, I'm closing this issue and lets keep the discussion only in stack overflow...

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-12-13
    • status: pending --> closed