ubuntu - how do I install praw -


i have been trying install praw pip install praw keep getting error message:

exception: traceback (most recent call last):   file "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 223, in main     status = self.run(options, args)   file "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 299, in run     root=options.root_path,   file "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 646, in install     **kwargs   file "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 813, in install     self.move_wheel_files(self.source_dir, root=root)   file "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 1008, in move_wheel_files     isolated=self.isolated,   file "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 339, in move_wheel_files     clobber(source, lib_dir, true)   file "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 317, in clobber     shutil.copyfile(srcfile, destfile)   file "/usr/lib/python2.7/shutil.py", line 83, in copyfile     open(dst, 'wb') fdst: ioerror: [errno 13] permission denied: '/usr/local/lib/python2.7/dist-packages/update_checker_test.pyc' 

i have python 2 , 3. ideas?

try use sudo

sudo pip install praw 

Comments