Skip to content

Installation error #505

Open
Open
@davidmwatson

Description

@davidmwatson

Hello,

I ran into the following error when attempting to pip install pycortex on Linux:

pip3 install --user git+https://github.com/gallantlab/pycortex

  error: could not create '/usr/share/pycortex': Permission denied
  ----------------------------------------
  ERROR: Failed building wheel for pycortex
Failed to build pycortex
ERROR: Could not build wheels for pycortex which use PEP 517 and cannot be installed directly

This seems to be a permissions error - I did specify the --user flag to pip, but the setup seems to be ignoring it. Looking at the history of setup.py, it looks like commit 156c66f changed a reference to self.install_data to be self.install_base. I changed this back to self.install_data, and the installation seems to have run fine for me now, so maybe this has something to do with it? This might also be related to issue #495 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions