[PYTHON] Pip doesn't work with PyDev in Pleiades

Python3 development often uses PyDev, which was initially introduced in Eclipse 2019-09 (Pleiades All in One Eclipse). PyDev allows you to manage and install libraries with pip, but it may not work well in the initial state of Pleiades.

As a specific symptom, enter an arbitrary command in "Command to execute (X)" of "Window (W)> Settings (P)> PyDev> Interpreter> Python Interpreter> Manage with pip" and "Execute". When you press "(R)", "FINISHED" is displayed immediately, but nothing actually happens. For example, even if you execute "install numpy", "numpy" will not be installed, and of course you will not be able to do development work.

As a result of various investigations, it seems that pip is not installed correctly in Python used by Pleiades. So, I reinstalled pip, and now I can operate pip from PyDev.

How to install __pip (for Python3): __

  1. Download get-pip.py from official pip documentation and install it anywhere.
  2. Run get-pip.py in the Python used by Pleiades: <PLEIADES_INSTALL_DIR> \ python \ 3 \ python get-pip.py
  3. After restarting Eclipse, open "Window (W)> Settings (P)> PyDev> Interpreter> Python Interpreter> Python3" and add 3 libraries including "Package" tab pip. You should be able to see that it has been done. Now you can use pip from PyDev.

image.png

Recommended Posts

Pip doesn't work with PyDev in Pleiades
module install if pip install doesn't work
When matplotlib doesn't work with python2.7
Intellisense doesn't work with tensorflow2.0 + VScode
Put TensorFlow in P2 instance with pip3
How to work with BigQuery in Python
To work with timestamp stations in Python
Let's find "T" in your work with us! !! !!
mod_wsgi talks about putting it in with pip
pyenv doesn't work with tcl-tk installed by homebrew.
Putting Ansible in AmazonLinux via yum doesn't work
What to do if scrapy doesn't work after installing scrapy with pip on mac
Work in a virtual environment with Python virtualenv.
The story that fits in with pip installation
Tensorflow doesn't work!
I want to work with a robot in python.
Start numerical calculation in Python (with Homebrew and pip)
Until you install TensorFlow-GPU with pip in Windows environment
Work memo that I tried i18n with Flask app
When send_keys doesn't work
PIL installation with pip
Installing packages with pip3
Error with pip install
When dropbox-sdk-python doesn't work
Use pip with MSYS2
Template customization with PyDev
Put pip in Blender
Install scikit.learn with pip
[Road to intermediate Python] Install packages in bulk with pip
When I try to push with heroku, it doesn't work
Update packages already installed with pip in user environment (non-su)
Install Jupiter Notebook on Windows with pip in proxy environment
Defense notes when pip3 doesn't work with "ImportError: No module named'packaging'" after installing python3-pip on Debian8