How to install pydev on nsight eclipse

You need to have jdk version 1.7 on your machine.
You need to manuall install the plugin pydev 2.8.2 version

Download pydev from http://sourceforge.net/projects/pydev/files/ and upzip it. Drop the unzipped files in respect eclipse plugin folders.

Note PyDev will not appear in Eclipse despite you have Java 7 on your machine. The solution is to run eclipse with -clean argument.
On ubuntu, you need to run it with root - sudo nsight -clean
with nsight you need
/usr/local/cuda-7.0/libnsight
$ sudo ./nsight -clean

Configure pydev to use correct interpreter and libs from pyenv
first use command "pyenv versions" and "which python" to find which python is used in your environment

set the interpreter to:
~/.pyenv/shims/python2.7

set the system libs to:
~/.pyenv/versions/2.7.11/envs/DrivePX/lib/python2.7/site-packages/
(if you don't take the pythonpath from virutalenv, you do not have access to these site-packages which are required to run the code)


Reference http://docs.python-guide.org/en/latest/writing/gotchas/

评论

此博客中的热门博文

AVR Tutorial - Input / Output

AVR ADC Analog to Digital Converter

EJB - Intro to Session beans