zephyrus
zephyrus

Reputation: 1266

Pip install local package give OSError [Errno1]

I am attempting to install a package that I downloaded from GitHub with as .toml file.

When I navigate the folder containing the .toml and run:

$ python -m pip install --user .

I get a long string of errors which looks like:

ERROR: Could not install packages due to an OSError: ["[Errno 1] Operation not permitted ... LONG LIST OF DIRETORIES]

I also get this error when calling sudo pip. I have given full hard drive access to terminal.

I am running python 3.9 on MaxOs 12.0.1 Monterey.

Upvotes: 0

Views: 228

Answers (1)

zephyrus
zephyrus

Reputation: 1266

Adding the flag --use-feature=in-tree-build got rid of this error.

Explicitly:

$ python -m pip install --user . --use-feature=in-tree-build 

Upvotes: 0

Related Questions