scraperwiki / file-upload-tool

A ScraperWiki tool for uploading spreadsheets of a predefined format
3 stars 0 forks source link

pip failing with pre-existing build directory #14

Open frabcus opened 10 years ago

frabcus commented 10 years ago
pip can't proceed with requirement 'scraperwiki==0.3.8 (from -r tool/requirements.txt (line 4))' due to a pre-existing build directory.
 location: /tmp/pip_build_yztwdmf/scraperwiki
This is likely due to a previous installation that failed.
pip is being responsible and not assuming it can delete this.
Please delete it and try again.
drj11 commented 10 years ago

Did you delete it and try again?

Did you get this error when you first installed a tool, or at some other time?

frabcus commented 10 years ago

Turns out, it calls setup.sh silently in the background when the installed tool's settings page is first viewed.

There is a comment saying this is unreliable, as it takes quite a while, and if you start the upload process while it is still running it crashes.

On Mon, Sep 22, 2014 at 01:07:30AM -0700, David Jones wrote:

Did you delete it and try again?

Did you get this error when you first installed a tool, or at some other time?


Reply to this email directly or view it on GitHub: https://github.com/scraperwiki/file-upload-tool/issues/14#issuecomment-56341161

drj11 commented 10 years ago

This is really a platform bug. That tools with special requirements can't be installed quickly.

frabcus commented 10 years ago

Yeah - it should probably have a symlink to a shared virtualenv or something...