Python3 easy_install3 not installing global

When I easyinstall a python module, it's not going into some standard system path, it's going into my home directory. The Internet is indicating that a sudo easyinstall should install into some global dir. Any advice?

$ easy_install3 –version

setuptools 26.1.1 from /usr/lib/python3/dist-packages (Python 3.5)

$ sudo easy_install3 psycopg2

[sudo] password for :

Searching for psycopg2

Best match: psycopg2 2.7.3.1

Adding psycopg2 2.7.3.1 to easy-install.pth file

Using /home//.local/lib/python3.5/site-packages

Processing dependencies for psycopg2

Finished processing dependencies for psycopg2

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct