How to install python3 packages as a user


#1

pip is installed on the image(s) used on syzygy.ca hubs, but by default it will try to write to system file locations and fail with a permission error. To avoid this, give the --user flag when running the command in a terminal, e.g.

  pip install --user rise

#2

I tried following these directions but I’m getting permission errors. Here’s the output. Any advice?


#3

I ran into a similar problem. I ran pip install tweepy --user inside a terminal on cybera.syzygy.ca. Inside a notebook (and after restarting the kernel), I run import tweepy and get ImportError: no module named tweepy.

How can I install tweepy at the user level?