Exception while intalling jupyter notebook - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Exception while intalling jupyter notebook (/thread-3470.html) |
Exception while intalling jupyter notebook - bmohanraj91 - May-26-2017 my question here I am trying to install jupyter notebook systems in my linux machine, I checked their website which states pip3 install jupyter could download the jupyter for me. So I tried but it throws Exception. Need help . I have mentioned only the Exception part of it below. pip3 install jupyter Exception: Traceback (most recent call last): File "/home/mohn/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/home/mohn/.local/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run prefix=options.prefix_path, File "/home/mohn/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install **kwargs File "/home/mohn/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "/home/mohn/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files isolated=self.isolated, File "/home/mohn/.local/lib/python3.5/site-packages/pip/wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True) File "/home/mohn/.local/lib/python3.5/site-packages/pip/wheel.py", line 316, in clobber ensure_dir(destdir) File "/home/mohn/.local/lib/python3.5/site-packages/pip/utils/__init__.py", line 83, in ensure_dir os.makedirs(path) File "/usr/lib/python3.5/os.py", line 241, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/pygments' RE: Exception while intalling jupyter notebook - wavic - May-26-2017 Run the install process as administrator RE: Exception while intalling jupyter notebook - zivoni - May-26-2017 Or (as you are already using user installed python) use --user parameter to enforce local installation.
RE: Exception while intalling jupyter notebook - bmohanraj91 - May-28-2017 (May-26-2017, 07:29 AM)wavic Wrote: Run the install process as administrator yes it worked.. very helpful.. (May-26-2017, 07:29 AM)wavic Wrote: Run the install process as administratorI used sudo command and installation worked fine. This command is informative, Thanks |