I believe it's because you're installing that into a directory that the current user has no write privileges for. Try installing those into a virtual environment (if you don't know what that is, let us know!).
-Jorge On Sat, Dec 16, 2017 at 1:27 PM, Bryan Zimmer <bazthelinux...@gmail.com> wrote: I have had only partial success with pip. Some things seem to install OK. But I've tried a couple of packages, specifically "BeautifulSoup" and "WxPython", and they fail with the same message, e.g.: *Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ku98d6jd/BeautifulSoup/* Thanks for the reply. I have taken to performing pip installs as root (on Slackware Linux), precisely because my regular user (baz) does not have the permissions necessary to install most software. So root, when performing a pip install, also gets error 1 when trying to install packages. I did follow your advice and set up a virtual environment using python3.6's *venv *module. According to the documentation, installations would go into the virtual environment if it is activated at install-time. But I got the same error. This time it took the following form: *Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zhuoo23l/BeautifulSoup/* Permissions on the /tmp directory are 1777, or read-write-execute allowed for everybody, plus it is a sticky directory (which shouldn't be important here). -- https://mail.python.org/mailman/listinfo/python-list