Eclipse Python Modules [message #648668] |
Thu, 13 January 2011 21:47 |
Q Smith Messages: 3 Registered: January 2011 |
Junior Member |
|
|
I have managed to get various python modules (such as networkx and matplot) to work with the Python IDLE and iPython that I have on this computer also.
However, I figured that I would streamline the process by installing Eclipse and getting the Python plugin and then I can just run python right from the Eclipse window. However, it doesn't recognize the modules such as networkx (I configured it using autodetect and I tried it a few times and selected the normally non-selected options as well, but nothing works).
This problem defeats the purpose of getting Eclipse because I already have a very good editor that does all of the same things as Eclipse except for it can't run python itself, so I was wondering if anyone could help me with this?
Thanks.
#########################
## [[EDIT1]] ##
#########################
Well, I managed to get the modules to work in Eclipse, but now the visualizer won't actually display anything. It starts the visualizer, but nothing displays.
Any help with this new problem would be appreciated.
Thanks
##########################
## [[EDIT2]] ##
##########################
Again, an edit. I have found that the visualizer is actually working, but Eclipse terminates the console once the program is done, which is before I am able to look at the visualizations.
So now my question is:
Is there any way to stop Eclipse from terminating the file running in the console once it has finished running?
[Updated on: Thu, 13 January 2011 22:48] Report message to a moderator
|
|
|
|
|
Re: Eclipse Python Modules [message #648839 is a reply to message #648694] |
Fri, 14 January 2011 17:04 |
|
On 13-Jan-11 20:43, Q Smith wrote:
> Thanks, but as I stated, I managed to solve that problem (the problem
> was that I was using the incorrect python. I was using
> /usr/bin/python2.6 when I should have been using /usr/local/bin/python2.6)
>
> Now I have the problem (well, not really problem) of the console
> terminating the file that I am running. I would like to stop it from
> doing that as I want to look at the visualization and check if it is
> correct.
>
> Any help with this problem would be appreciated.
Again, this list won't help you with Python questions. There isn't an
Eclipse-specific forum as far as I know. In your shoes, I'd definitively
try stackOverflow and carefully set a Python and Eclipse tag on my
question. I'd be surprised if you didn't get a response there.
Best of luck,
Russ
|
|
|
Powered by
FUDForum. Page generated in 0.05912 seconds