Intellij IDEA OSX Python Development Headaches - python

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.

Related

Program not running using existing python virtual environment in intellij

Since last many months I was using intellij idea comfortably but suddenly something went wrong and all my existing projects are not running now. I have the python virtual environment in SDK section along with all the libraries. see here but then also my programs are not working at all. [](https://i.stack.imgur.com/Ck9Bi.png)
See this
some days back All these programs were working perfectly fine. I need help. This is very frustrating.
unfortunately, there is not enough information to provide a proper solution. Please get in touch with IDE support via Help | Contact support...

Using Jenkins to run Python script but having issue importing modules on the script

I am really new to Jenkins and Python so when I have initially researched for this problem, there has been a limit to my understanding. I am looking to write a Python script and for it to be run on Jenkins as part of some automated testing I wish to do. My script interacts with an API and hence imports the 'requests' module on Python. It works fine using the Python interpreter on my local machine but I have had issues when I have tried using the Jenkins Python script builder and so I am looking for a way around this.
As I mentioned, I have looked around the internet for solutions but as my knowledge on this topic is limited I have found it difficult to understand certain ideas that have been mentioned on the web. One lead I have had is related to the use of virtual environments on Jenkins, but as its something I've never used, I have struggled implementing it. I have installed the ShiningPanda Plugin on Jenkins, but I am unsure how to use it.
Any help given is greatly appreciated :)
Thanks

Eclipse stopped auto complete in 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?

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?

.NET developer moving to ubuntu for development

I've been developing in .NET now for about 3 years. I love the visual studio IDE and sadly I won't be able to use it anymore.
Could someone save me hours of searching the web and reading reviews, and suggest the 'standard' or most popular IDE/Text editor for linux that will get me up and running quickly?
My main goals here are web development backed with Python.
Consider Wing IDE -- IMHO the best commercial IDE for Python, it does support Django if that's what you want (as, apparently, do 80% of Python-based websites; personally, I prefer werkzeug and the like, but maybe that's partly because my "web apps" tend to be more like "web services", with most all the UI/views parts done in HTML/CSS/Dojo;-).
Me, I use Vim (usually in the gvim incarnation) as my "Python IDE" (and I've seen Emacs-using colleagues do at-least-equivalent wizardry, but I just can't get used to Emacs myself!-)... but I have to admit that a Wing IDE expect, particularly if faced with a thorny debug scenario, can do circles around me (and even around the Emacsers). ((So why haven't I made the effort to switch? Maybe because, thanks to fanatical testing, I now face thorny debug scenarios too rarely to make me an expert in any new tool!-)) ((Or maybe because my fingers, having learned vi 30+ years ago, would HATE me if I switched to ANYTHING else;-)).
See this question about Python IDEs.
I use Eclipse + PyDev.
First off, if you want to do web with Python, the Django framework seems like the best choice.
From some quick Googling, the best IDE for Django would be NetBeans with a plugin.
Good luck on learning 'nix development, then!
You can still develop .NET on linux.
Microsoft's Visual Studio Code is an Integrated Development Environment (IDE) with support for Mac, Linux and Windows.
I really like gedit and a terminal. You'll more than likely need to make a few tweaks and maybe install a plugin or two. gedit also has a Python console window plugin if you like that kind of integration. (Edit -> Preferences -> Plugins, then enable the bottom pane with View -> Bottom Pane)
If you're new to Ubuntu I'd still recommend trying a few different tools before you get settled. The impression I get is that text editors are more commonplace than full blown IDEs on Linux. I tried a few IDEs on Ubuntu and it just didn't seem right - gedit is lightweight and I actually enjoy using it more than Textmate on OS X.
If you are willing to pay Wing IDE (http://www.wingware.com/) is the best (IMO)
They have trial versions and a basic version free (https://wingware.com/wing101)
Mono Develop
If you've been using visual studio, then I'd guess that mono develop would be the closest thing. As far as I know, its the best attempt around to be a linux version of visual studio. A quick Google search gives several results for python plugins for mono develop.

Categories

Resources