Notes for using python (pydev) in eclipse

About setting method of eclipse

Drop a suitable eclipse

I think anything is fine. I think the latest version is good. (I put the latest pydev in an older version of eclipse and it just stopped working.)

Insert the pydev plugin

help→Install New Software スクリーンショット 2016-09-12 12.21.41.png so http://pydev.org/updates スクリーンショット 2016-09-12 12.22.56.png And update.

pydev interpreter settings

If you include pydev, you should be able to set the environment pydev→interpreter - Python here, /Users/Hoge/.virtualenvs/project/bin/python Specify the path of virtualenvs such as.

Run runserver

run→Debug Configurations of Python Run Make a new setting in. On the Main tab Select project Specify manage.py for Main Module

On the Arguments tab runserver_plus localhost: 8000 --noreload --settings = {settings path} And so on. If you run it with this, it should work nicely.

Other

-If runserver does not connect to the DB (connects from the console) In debug settings, to environment DYLD_LIBRARY_PATH=/usr/local/mysql/lib/ To set Class jump system settings screen.png Set PYTHONPATH here.

Recommended Posts

Notes for using python (pydev) in eclipse
Notes for using OpenCV on Windows10 Python 3.8.3.
Notes on nfc.ContactlessFrontend () for nfcpy in python
Notes on using code formatter in Python
Python with eclipse + PyDev.
Notes using Python subprocesses
Notes on using dict in python [Competition Pro]
Notes for implementing simple collaborative filtering in Python
Python notes using perl-ternary operator
Web scraping notes in python3
Directory structure for test-driven development using pytest in python
Python notes using perl-special variables
Search for strings in Python
Python Tkinter notes (for myself)
Techniques for sorting in Python
What to do if you get "Python not configured." Using PyDev in Eclipse
Get Evernote notes in Python
Translate using googletrans in Python
Using Python mode in Processing
About "for _ in range ():" in python
Miscellaneous notes that I tried using python for the matter
GUI programming in Python using Appjar
Python with eclipse + PyDev.
Output debug log with GAE dev_appserver.py on Eclipse + PyDev
Mac + Eclipse (PyDev) + Django environment construction
Notes for using python (pydev) in eclipse
Check for external commands in python
Precautions when using pit in Python
Minimum grammar notes for writing Python
Notes on using MeCab from Python
Try using LevelDB in Python (plyvel)
Personal notes for python image processing
Using global variables in python functions
Notes for me python csv graph
Notes on installing Python using PyEnv
[TouchDesigner] Tips for for statements using python
Let's see using input in python
Infinite product in Python (using functools)
Edit videos in Python using MoviePy
Notes for Python file input / output
Notes on using rstrip with python.
[Python] Reasons for overriding using super ()
Run unittests in Python (for beginners)
[Python] Multiplication table using for statement
Handwriting recognition using KNN in Python
Try using Leap Motion in Python
Depth-first search using stack in Python
When using regular expressions in Python
GUI creation in python using tkinter 2
Things to watch out for when using default arguments in Python
Try using FireBase Cloud Firestore in Python for the time being
Mouse operation using Windows API in Python
Try using the Wunderlist API in Python
WEB scraping with Python (for personal notes)
Python development environment for macOS using venv 2016
Get Suica balance in Python (using libpafe)
(Bad) practice of using this in Python
Slowly hash passwords using bcrypt in Python
Try using the Kraken API in Python
Using venv in Windows + Docker environment [Python]
[50 counts] Key transmission using Python for Windows
Inject is recommended for DDD in Python
Tips for dealing with binaries in Python
[FX] Hit oanda-API in Python using Docker