sociam / indx

INDX Server
http://sociam.github.io/
GNU Affero General Public License v3.0
42 stars 6 forks source link

setup.sh installs ancient setuptools, kills self #148

Open electronicmax opened 10 years ago

electronicmax commented 10 years ago

(OS X primarily)

running setup.sh on a clean box causes it to abort with the message

setuptools must be >= 2.1; run easy_install -U setuptools

further inspection reveals that setup.sh seems to install setuptools 0.68 into the pip environment. why is this happening? i have no idea. do you?

danielsmith-eu commented 10 years ago

I've not tested INDX or the virtualenv process using python3, sorry.

To get it to use python2 all over, try removing the 'env' directory, and then in setup.sh, editing the line "virtualenv env" to "virtualenv env -p LOCATION_OF_YOUR_PYTHON2_BINARY"

Then re-run setup.sh

That will then use python2 within the virtual environment.