Pydev Perspective Not Showing After Install For Eclipse - python

After installing the latest version of Pydev on eclipse it is not showing under the list of available perspectives.
Eclipse does however list pydev as being installed which seems weird to me. I would also like to add that I installed pydev through the standard method (Through the "install new software" option under help).
Any help on how to resolve this would be greatly appreciated.

I spent hours trying to get PyDev 3.0.0 plugin working with Eclipse Kepler on my mac. I tried
Marketplace installation
Install Software through Update Site
Dropping plugin files under eclipse/dropins
Nothing worked until I finally tried version 2.8.2 of the plugin. I would say get a zip of 2.8.2 from here and put the unzippied version in your /dropins folder of Eclipse. Restart Eclipse. Then go to the preference menu and notice PyDev entry should be there. Sometime it is better to start the Eclipse with admin credentials. Something like this on command line:
sudo /Users/username/Softwares/eclipse/Eclipse.app/Contents/MacOS/eclipse

First things first, go to pydev offcial page, it stated:
See: the PyDev does not appear after install section on the download
page for help on using a Java 8 vm in Eclipse.
Visits this page, it shows:
Well, the main issue at this time is that PyDev requires Java 8 in
order to run. So, if you don't want to support PyDev by going the
LiClipse route (which is mostly a PyDev standalone plus some goodies),
you may have to go through some loops to make sure that you're
actually using Java 8 to run Eclipse/PyDev (as explained below).
Also, keep in mind that PyDev 5.x requires Eclipse 4.6 onwards (for
Eclipse 3.8 use PyDev 4.x).
In my system:
$ java -version
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-8u102-b14.1-2-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
According to this answer
Java 8 (a.k.a 1.8)
So my openJDK 1.8 is Java 8 already met the requirement stated from the pydev statement above. So it's not Java problem in my case.
Recall the pydev last statement:
Also, keep in mind that PyDev 5.x requires Eclipse 4.6 onwards (for
Eclipse 3.8 use PyDev 4.x).
So I check my eclipse version, it's merely old version 3.8.1:
But what I've downloaded is latest version pydev 5.3.0, which is wrong, so now what I have to do is follow this instruction to uninstall pydev 5.3.0 first:
Use Shift key to highlight both and uninstall:
After uninstalled, visits this page to copy the old repo link:
Recall the pydev last statement again:
Also, keep in mind that PyDev 5.x requires Eclipse 4.6 onwards (for
Eclipse 3.8 use PyDev 4.x).
My eclipse is 3.8.1, so I just have to choose 4.x. The highest version of 4.x listed above is 4.5.5.
I copy the link http://www.pydev.org/update_sites/4.5.5 and paste into eclipse's Install New Software page to install:
After all, Windows -> Preferences, pydev is showing up now:

Update your Java to the latest SDK.
Restart Eclipse.
PyDev will be shown in Eclipse>>Preferences

update Java version.
Install the new java.
Go to Eclipse-> Preference-> Java -> Intalled JRE -> Check latest java (1.8) -> Apply. Restart Eclipse

I had the same problem; it seems I was using Eclipse with Java 1.6 instead of with Java 1.7 as required by PyDev.
The fix, for PyDev 3.1.0 on Linux at least, is to start Eclipse with the Java 1.7 binary. Two ways to do this: updating the default Java installation for the system to 1.7 or edit the eclipse.ini to point to a Java 1.7 java binary.

For Ubuntu users:
Check for Java version ($ java -version). If it is 1.6.0, please upgrade it to 1.7.0 ($ sudo apt-get install openjdk-7-jdk)
Also, run the command $ sudo update-alternatives --config java
Restart Eclipse and Pydev will show up in the preferences.

As per PyDev documentation states, the latest 5.x version now requires Java8 and Eclipse 4.5 onwards (http://www.pydev.org/)
You can use a 4.x PyDev version, which requires Java7, using the alternative update sites (http://www.pydev.org/update_sites/index.html)

The PyDev installation guide addresses this issue. The solution is to update to Java 7 or later.
Edit: As #aaron-hall suggested, I'll give a more detailed explanation:
The nice folks that develop PyDev have decided to upgrade the Java version they are using (wise decision, but breaks compatibility backwards). If you have Java 6, then you need to upgrade at least to 7 (you can find numerous sites explaining how to do it in case you don't know). After you have installed the new version of Java, inside Eclipse go to Preferences/Java/Installed JREs and add your recently installed JRE. After that, restart Eclipse and install PyDev as you normally would. Everything should work fine now.
If for some reason you can't or won't install Java 7 or 8, then you must stick to PyDev 2.8.x.

in my case, you need to use jdk 1.8, if the pydev is 5.0.0.

If anybody has Eclipse Neon, this is how I fixed it:
From the Window menu > Perspective > Customize
Check Pydev Debug and the sub-items you're interested in.
Now you can see the Pydev on the Menu bar.

My solution was to run eclipse from the command line with the -clean flag:
eclipse -clean
This has to be done once in a while around package upgrades.

I went through all the above steps, but it didn't work. At last, I saw that my launcher pointed to a wrong Java installation. It was:
eclipse -vm /usr/local/java/jre1.7.0_67/bin/java
then I corrected to the java installation appropriate for my case, as stated in the previous answers, and it works:
eclipse -vm /usr/lib/jvm/java-8-openjdk-i386/bin/java
Of course these are my installation dependent paths. You should check your owns.

There are a few things that has to be checked when installing pydev from install new software on eclipse.
Version of eclipse
Version of java
If you are using java 7 and still you cant find pydev under preferences(that happened to me), there is a good chance that you have installed a version of pydev which is above 4.5.5. PyDev 4.5.5 is the last release supporting Java 7 and Eclipse 3.8. For more details, go through this link http://www.pydev.org/ under release 5.2.0.
Like wise for java 6, an older version of pydev will help solve the issue, and there are a lot of sites which will find your right version of pydev according to your eclipse and java version
Cheers

I faced this issue. My environment looked like this
Windows 7 Enterprise (64 bit)
Eclipse SDK 4.2
Python 3.6.1
Pydev 5.2
JRE 1.8.0_111
In the above configuration the PyDev plugin didn't show up.
I did the following:
Installed the jdk 1.8 (64 bit)
Installed Eclipse Neon
Installed the Pydev plugin using the Plugin manager.
All works fine now !
It is clearly stated in the installation instructions that PyDev requires Java 8 and Eclipse 4.6 (Neon) in order to run and only supports Python 2.6 onwards.

In my case, while installing the plugin, I had forgotten to click on a checkbox to trust a certificate, then I installed it again, checked the checkbox and it worked.

I had the problem too, and I solved it just by waiting for eclipse to download all files, it takes some time.
When the downloads are completed eclipse will remind you to restart, if you see that remind you have succeeded.

I installed Eclipse IDE for Java Developers (setup by Oomph) into the folder 'C:\Program Files' with administrator privileges on Windows. After manually renaming/moving the Eclipse installation folder and installing PyDev, it did not show up as Perspective.
A possible solution is to run Eclipse as administrator and to reinstall PyDev.
Note: When the initial installation directory of Eclipse is not changed, PyDev also works correctly.

Solved with updating vm args. Just pointed to java8.
-vm E:/sw/java/jdk1.8.0_91/bin/javaw.exe

Related

Unable to run PythonWin For Python 3.9 64bit

I was trying to create Python executables on Windows 10 Pro (latest) so was upgrading to the latest packages but it's changed.
I've just gotten rid of Python 3.6 and reinstalled Python 3.9. I then went and installed PythonWin for it using the following (there no longer seems to be what was a standard install package):
**pip install pywin32**
Python is on the start menu but, unlike earlier installs, the new way of installing PythonWin this doesn't seem to give me any kind of way to run the program. Surely it should create some kind of shortcut on the start menu?
Any advice on this would be most helpful.
James
SOLVED!
While I still have no idea why a Start Menu shortcut wasn't installed, I have found the executable that runs PythonWin.
It was located in the following folder:
"C:\Users<MyUserID>\AppData\Local\Programs\Python\Python39\Lib\site-packages\pythonwin"
Thanks :)

Which install of eclipse should I use for python development?

I'm brand new to Python and Eclipse and am in the process of trying to setup my Windows 10 system with a proper dev environment. I've been searching everywhere for a straight answer on which install of Eclipse to use for Python development but to no avail.
I've installed the Java JDK and Python but when I went to install Eclipse, I was met with over 20 options for Eclipse and none of them mention Python. I know I have to install the Python libraries (PyDev /LiClipse) once Eclipse is setup but which option is the best to use?
Eclipse is plugin based, so it really doesn't matter. All variations have different pre installed plugins.
So any eclipse + PyDev.
As alternative, you can also try to use PyCharm.

How do I get PyDev in eclipse to use pip3?

How do I point my PyDev setup to pip3?
Environment:
macOS Sierra (10.12.6)
python3.6.3 through homebrew
Eclipse Oxygen (4.7.1a)
PyDev for Eclipse 6.0 from Eclipse Marketplace
This was a known issue on PyDev 6.0.0.
PyDev 6.1.0 fixed this issue (it will now do python -m pip if it is not able to find the pip executable where it was expected to be -- which is actually a common scenario an many cases).

PyDev with Python 3.3 and pip cannot create Django project

I'm experiencing problem with the PyDev Eclipse plugin.
I have Python3.3, pip, Eclipse Juno, PyDev plugin installed on a Linux machine. I have installed Django 1.5.4 through pip. Now I am trying to create a Django project from Eclipse, but my Django is not found.
I have set properly my Python - Interpreter in Eclipse, I tried adding only pip's site-package without site-package/django folder, with or without no result. I tried switching to Python 2.7.5 but still no result. I have found similar questions but no solutions were given.
I found out that other people are experiencing the same problem, so I was wondering if this is some kind of PyDev bug and if yes is there any fix. I have experienced the same problem with another machine running Win7.

Spyder autocomplete doesn't work with 64-bit WinPython 2.7.5

In my installation of Spyder, autocomplete (ctrl+space) doesn't work in the editor (but does in the console). It looks like the same problem as this but I'm on Windows 7, so I can't pip install rope as the answer suggests.
My installation of Python is courtesy of WinPython and is version WinPython-64bit-2.7.5.2. It comes with Spyder 2.2.2.
I've attempted to get Spyder into debug mode with the --debug command line option, as described here, but it appears not to be available in this version of Spyder. (Spyder says no such option -d)
The follwing info may or may not be useful, from the Spyder about page:
Python 2.7.5 64bits, Qt 4.8.4, PyQt4 (API v2) 4.9.6 on Windows
Can anyone help get me going again? Without autocomplete I'm lost!
Many thanks,
Rob
When Spyder is bundled with WinPython it automatically comes with rope installed as part of the Spyder package. However, the Spyder 2.2.2 Windows installers shipped with the wrong version of rope, and code completion will not work. Fortunately, Spyder 2.2.3 has just been released, and upgrading Spyder will fix your problem. Use this procedure:
Download the binary installer spyder-2.2.3.win-amd64.exe from the Spyder downloads page.
Open up the WinPython Control Panel, which can be found in the root directory of your WinPython install.
Drag and drop the Spyder installer into the control panel, and then hit the "Install packages" button.
You should now be able to launch Spyder from the WinPython root directory using the executable there, and code completion should be fixed.

Categories

Resources