You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Micah Kornfield <em...@gmail.com> on 2020/04/13 00:42:48 UTC

Trouble installing archery?

When I follow the instructions at
https://arrow.apache.org/docs/developers/benchmarks.html

"pip install -e dev/archery"

I get a permission denied (error pasted at the end in full).  Are there
additional steps that need to happen when using virtualenv?

Thanks,
Micah

Obtaining file:///home/emkornfield_gmail_com/arrow/dev/archery
    ERROR: Command errored out with exit status 1:
     command: /home/emkornfield_gmail_com/venv/bin/python3 -c 'import sys,
setuptools, tokenize; sys.argv[0] =
 '"'"'/home/emkornfield_gmail_com/arrow/dev/archery/setup.py'"'"';
__file__='"'"'/home/emkornfield_gmail_com/a
rrow/dev/archery/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"',
open)(__file__);code=f.read().replace('"'"'
\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__,
'"'"'exec'"'"'))' egg_info
         cwd: /home/emkornfield_gmail_com/arrow/dev/archery/
    Complete output (2 lines):
    running egg_info
    error: [Errno 13] Permission denied
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info
Check the logs for full command output

Re: Trouble installing archery?

Posted by Micah Kornfield <em...@gmail.com>.
Yes, this worked for me as well. Thanks everyone.

On Mon, Apr 13, 2020 at 9:22 AM Bryan Cutler <cu...@gmail.com> wrote:

> I had the same problem and Antoine's suggestion was exactly what was wrong.
>
> On Mon, Apr 13, 2020 at 1:27 AM Antoine Pitrou <an...@python.org> wrote:
>
> >
> > Le 13/04/2020 à 02:42, Micah Kornfield a écrit :
> > > When I follow the instructions at
> > > https://arrow.apache.org/docs/developers/benchmarks.html
> > >
> > > "pip install -e dev/archery"
> > >
> > > I get a permission denied (error pasted at the end in full).  Are there
> > > additional steps that need to happen when using virtualenv?
> >
> > Hmm, I don't think so.  Did you run `git clean -Xfd` in your checkout?
> > Perhaps there are root-created files lying around... (this often happens
> > with Docker)
> >
> > Regards
> >
> > Antoine.
> >
>

Re: Trouble installing archery?

Posted by Bryan Cutler <cu...@gmail.com>.
I had the same problem and Antoine's suggestion was exactly what was wrong.

On Mon, Apr 13, 2020 at 1:27 AM Antoine Pitrou <an...@python.org> wrote:

>
> Le 13/04/2020 à 02:42, Micah Kornfield a écrit :
> > When I follow the instructions at
> > https://arrow.apache.org/docs/developers/benchmarks.html
> >
> > "pip install -e dev/archery"
> >
> > I get a permission denied (error pasted at the end in full).  Are there
> > additional steps that need to happen when using virtualenv?
>
> Hmm, I don't think so.  Did you run `git clean -Xfd` in your checkout?
> Perhaps there are root-created files lying around... (this often happens
> with Docker)
>
> Regards
>
> Antoine.
>

Re: Trouble installing archery?

Posted by Antoine Pitrou <an...@python.org>.
Le 13/04/2020 à 02:42, Micah Kornfield a écrit :
> When I follow the instructions at
> https://arrow.apache.org/docs/developers/benchmarks.html
> 
> "pip install -e dev/archery"
> 
> I get a permission denied (error pasted at the end in full).  Are there
> additional steps that need to happen when using virtualenv?

Hmm, I don't think so.  Did you run `git clean -Xfd` in your checkout?
Perhaps there are root-created files lying around... (this often happens
with Docker)

Regards

Antoine.