I am trying to install simplejson-3.3.1.tar.gz so it can be accessed by my Python project in netbeans IDE 7.3.1.
I installed json.py in my src as a quick fix, but need more functionality.
I am using linus mint 15 as an OS.
I am unsure how to get my modules in netbeans to "see" methors eg json.dumps.
I am new to netbeans and would appreciate your assistance.
Thanks and regards,
Chris
Install Python setuptools
sudo apt-get install python-setuptools
Now using pip
install simplejson
sudo pip install simplejson
In general most Python packages can be installed this way.
I found the issue ...
netbeans defaults to jython. I had to save my project files to another directory, delete my project (changing to python 2.7. for current project had no effect) and create a new project with netbeans with python 2.7 as the default.
Thanks for helping me get simplejson into my python 2.7 Nipun! Chris
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.