zer0stimulus
zer0stimulus

Reputation: 23616

How to persist PYTHONPATH setting of an Eclipse Pydev project?

I can setup a working PYTHONPATH using project properties, but it seems like after every reboot, I have to manually reset it. Is there a good way to persist the PYTHONPATH associated with a project?

Upvotes: 7

Views: 14472

Answers (3)

Fabio Zadrozny
Fabio Zadrozny

Reputation: 25332

When you set the PYTHONPATH for a project, pydev will create a .pydevproject file in the root of your project. Make sure that file is being properly written (it could be that your project is read-only or something like that which could prevent PyDev from writing that file where the settings are persisted).

If that's not your case, please take a look if there's something reported in your error log.

Upvotes: 5

kaiseroskilo
kaiseroskilo

Reputation: 1729

Maybe instead of tweaking your project properties, you should try to change your pydev's settings. I found this tutorial.Take a look at no 3 .

Hope it helps.

Upvotes: 3

Denis
Denis

Reputation: 7343

Then you create new pydev project you can select option like "Add project to your python path". If you want you can customize python's intepreter and associated libs.

Upvotes: 0

Related Questions