Eclipse stopped auto complete in python - python

I installed eclipse and used it a few times, shutting off and restarting it and everything seemed to working normally. This morning when I started working with it, it has stopped doing auto-complete and stopped initializing the self key word. Also I had to reinstall the pydev packages this morning. Please any ideas??
Thanks for the help in advance

Maybe something similar to this "eclipse code completion issue". Need to provide a bit more info though... Such as operating system in use, eclipse version, what packages are installed on eclipse? Any error dialogs showing up?

Related

Xcode 8: Loading a plug-in failed

when launching Xcode beta 8 on a macOS Sierra beta I'm getting this error:
Loading a plug-in failed.
The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.
After searching, it seems that the issue is related with python and the new security measures that Apple introduced after XCode Ghost.
I couldn't find a solution, anybody can help?
EDIT
By looking at the Xcode logs, I noticed that it has NOTHING (apparently) to do with Python.
I see a whole bunch of
*Requested but did not find extension point with identifier Xcode.**
errors
I have to say that I also have Xcode 7 installed on my machine.
I had the exact thing happen to me except on High Sierra. I had deleted the old version folders of Python in /System/Library/Frameworks/Python.framework/Versions/, which was a mistake seeing that these are the Apple installed Python files. After trying to launch Xcode, Xcode could no longer access the Python files it needed. Unfortunately I had deleted them and emptied the trash, so the only way I could restore those files was by reinstalling High Sierra.
So if you run into this plugin error and you've messed with Python files, you need to recover those files either by taking them back out of the trash or by reinstalling your operating system (reinstalling doesn't erase the data on your computer, but it will add missing files, such as the Python ones I deleted).
Hope that helps someone in a similar situation.
I've had the similar logs that seemed to have nothing to do with Python, but what ended up working for it is removing python from /Library/Frameworks with help from this answer https://stackoverflow.com/a/3819829/3046504
It was still not working, but then extracting Xcode 9.1 from the xip and launching it triggered some additional installer all worked.
Had the same issue, found the solution over there : https://developer.apple.com/forums/thread/100026
I found the key to a solution here:
https://developer.apple.com/forums/thread/100026
In the Xcode app directory:
/Applications/Xcode.app/Contents/Resources/Packages
there are four packages: CoreTypes.pkg MobileDevice.pkg
MobileDeviceDevelopment.pkg XcodeSystemResources.pkg
I had to open and install all of these packages to fix the Xcode
launch failure. Then Xcode opens normally.
if you were doing something in Python, you may have accidently deleted some files. I had the same problem and I was trying to fix it for a few days. Finally, I found a way how to fix it. Just right click on "Finder app" icon and select "Go to folder..", then paste "/System/Library/Frameworks/". If you have there a file called "Python.framework", just delete it and download new one on my website[link]. Then just restart your Mac. If it works, contact me so I know if it worked. If not, conctact me too so we can figure it out together🙂

Intellij IDEA OSX Python Development Headaches

I recently started working at a Java shop where staff primarily use IntelliJ IDEA on Macs for development. I am in charge of writing automated tests for a data centric project, and my go-to language for this is Python. In the past, I have used PyCharm on Linux and Windows with great success, but configuring IntelliJ IDEA for Python on OSX has been confusing to me. So far, I have had no issues setting up a project and getting it to run Python scripts, but each time I try using the debugger, I get the following error:
/usr/bin/python: can't open file '/Users/{USER}/Library/Application Support/helpers/pydev/pydevd.py': [Errno 2] No such file or directory
So far, Googling around has turned up hardly anything useful - and most of JetBrains's help manuals are PyCharm focused, which is rather unhelpful in the IntelliJ context. Has anyone else come across something like this? I'm looking for insight into what exactly is going wrong here.
Try uninstalling and re-installing the plugin? There's definitely something wrong with the path above, it should have an IntelliJ<version number> between the Application Support/python and the helpers (at least by what's on my system). I am running IntelliJ 13 with the python plugin and have been able to debug without any problems with it.

STILL: PyCharm can not resolve PyGObject 3.0, but code runs fine

This question has been asked before [here]. At the time, it was a bug, and a feature has been requested, later on it was fixed and supposedly it should work.
but in my case it still isn't.
I have been trying and googling for about a week, yet still, I couldn't get it to work
My system is:
Arch Linux
Pycharm 3.1.1 Build #PC-133.881
Python 3.3.4
pygobject 3.10.2
Is there something I'm missing or is it a bug ??
It seems to be a new bug in PyCharm. Forcing skeleton generation should resolve the problem until you run the program, but at least in my case is not working.
Follow PY-13505 for more info.
The generation of the Gtk.py stub by PyCharm fails because of default IDE file size limit. I changed the config value "idea.max.intellisense.filesize" in idea.properties from 2500 to 10000. The stub generation takes some time but finishes now.
I think this might solve your issue developing Gtk3 applications with PyCharm to get features like autocompletion and integrated API-documentation.
This was also my answer to a very similar question: PyCharm - autocomplete for Gtk3 magically stops working

Get error when coding Python in Eclipse

I was looking for an appropriate Python IDE for a long time. When googling and looking for a desired one in this forum and on the other websites I finally realised Eclipse is being suggested by the majority of the professional programmers. So as you would understand I downloaded Eclipse and the Pydev plugin for that purpose and started trying to configure and prepare Eclipse for usage and programming. As a beginner and a new one to Python, frankly I faced so many serious obstacles for installing and configuring the Eclipse and specifically for installing the Pydev plugin. After so much struggle, I finally succeeded in getting through with the configuration and installation but when I run the Eclipse and try to build a new project, when I introduce a new module and code, when I debug and run my code I get such error "
"Exception occurred executing command line.
Cannot run program "C:\Program Files\Python3\python.exe" (in directory "C:\EclipseWorkspace\csse120\Hello world"): CreateProcess error=3, The system cannot find the path specified"
I looked for Identical or similar issues in the forum and topics but the only suggestions were that this might be due to python 3.0(means I should be choosing Python 2.6 or 2.7 while choosing a new project), but this didn't solve my problem.
Would anybody please assist me: what should I be doing to solve this issue and problem. I be appreciating and thankful toward ant guidance and assistance.
I Thank you all in advance for your kind help
I haven't used eclipse in a while, but normally that error simply means that eclipse can't find the specified file in the specified path.
it might sounds stupid, I know, but are you sure you have C:\Program Files\Python3\python.exe in your system?

Netbeans 7 not starting up after python plugin installation

I went to tools, plugins. Then chose to install the three python items that show up. After installation. I choose the restart netbeans option. But instead of restarting, netbeans just closed. And now it is not opening. Any ideas how to fix this? I normally develop Java on my netbeans 7 install.
I am using a mac osx
I see there are no takers, so let me ask this: Is there a way to revert to before the new plugin install?
I had the same issue. Netbeans would die before opening at all. I could not fix it, and had to revert back to 6.9.1.
See if this helps (picked form http://netbeans.org/bugzilla/show_bug.cgi?id=198963)
Simple fix until the module is fixed:
From: http://blogs.oracle.com/gridbag/entry/disabling_a_netbeans_plugin_before
Modify:
C:\Users\your_user.netbeans\7.0\config\Modules\org-netbeans-modules-php-smarty.xml
Line 7 to false:
<param name="enabled">true</param>
I had the same problem, but with Windows 7. I deleted the .netbeans directory located in my home folder. That fixed my problem, hope it fixes yours.
I was having a problem with Netbeans 7 not starting. Netbeans had first errored out with no error message. Then it wouldn't start or give me an error. I looked in the .netbeans directory in my user directory, and found and attempted to delete the 'lock' file in that directory. When I first tried to delete it, it said it was in use. So with task manager, I had to go to processes tab and find netbeans. I killed that task, then was able to delete 'lock'. Then netbeans started.
I have the same problem afther installing the python plguin. To solve this problem i deleted the file: org-openide-awt.jar from C:\Users\MYUSERNAME.netbeans\7.0\modules
Regards!
Martín.
PD: I'm using Netbeans 7.0.1 anda Windows 7 64bit.
I know I'm not answering your question directly, but I too was considering installing the Python plugin in Netbeans 7 but saw that it was still in Beta.
I use WingIDE from wingware for Python development. I'm a Python newbie but I'm told by the pros that Wing is the best IDE for Python. The "101" version is free and works very well. The licensed versions include more options such as version control integration and Django features.

Categories

Resources