You are not logged in.

#1 2015-07-03 17:19:07

irrlicht
Member
Registered: 2010-12-06
Posts: 107

Need clearance in python modules usage and installation

Hello guys!

I'm trying to use ipython notebook(installed from community repo) and any package which i have installed by

sudo pip install

. In both cases i can only use them if invoke the interpreter with elevated rights. But it seems to be not the right way to call

ipython notebook

as root. From the user account I get always the permission denied error. E.g.

PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.4/site-packages/zmq/__init__.py'

The /usr/lib/python3.4/site-packages/zmq/ has drwxr-xr-x set. What is the problem here?

How are u guys start your ipytnon notebooks without to be root?


Thanks in advance!


Everything less than immortality is a complete waste of time!

Offline

#2 2015-07-10 08:27:48

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Need clearance in python modules usage and installation

We guys don't install python packages to the system with pip, we rather prefer pacman, makepkg and the AUR. iPython is in the official sources, many python packages exist there and in the AUR. If you insist on pip, look up virtualenv.

Offline

Board footer

Powered by FluxBB