Skip to content

Python3 pip installation is broken #21

@quasipedia

Description

@quasipedia

After having created a python3 virtulaenv with the command pyvenv-3.3 efk , the pip installation fails with:

(efk) --- efk/fluent ‹master* ?› » pip install fluent-logger
Downloading/unpacking fluent-logger
  Running setup.py egg_info for package fluent-logger

Downloading/unpacking msgpack-python (from fluent-logger)
  Running setup.py egg_info for package msgpack-python

Installing collected packages: fluent-logger, msgpack-python
  Running setup.py install for fluent-logger
    error: could not create '/usr/lib/python2.7/site-packages/fluent': Permission denied
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-mac/fluent-logger/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-EAWTAq-record/install-record.txt --single-version-externally-managed:
    running install
running build
running build_py
running install_lib
creating /usr/lib/python2.7/site-packages/fluent
error: could not create '/usr/lib/python2.7/site-packages/fluent': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-mac/fluent-logger/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-EAWTAq-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-mac/fluent-logger
Storing complete log in /home/mac/.pip/pip.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions