Thanks Adam My issue was firstly that I didnt realize there was that convenient dependency script (ubuntu_trusty_setup.sh) linked on the plain Arches documentation which is not linked from the Arches-HIP documentation. I will be sure in the future to read all the docs! But yes, I somehow was installing the wrong version of something, Im not sure what, but running that dependency script in addition to your suggested corrections regarding where the sudos should go did the trick
Josh On Tuesday, October 18, 2016 at 3:31:18 PM UTC-5, Adam Cox wrote: > > Hi Josh, I spent some time getting familiar with Google Compute Engine, > and have finally gotten Arches-HIP installed properly on an instance. My > guess is that your problems stemmed from some installation issues with your > dependencies. When I ran the ubuntu_trusty_setup.sh (which in the > documentation is linked on bitbucket, but also exists here on github > <https://github.com/archesproject/arches/blob/stable/3.x/arches/install/ubuntu_trusty_setup.sh>) > > I found that the > > ./configure > make > > lines that occur in the geos and postgis sections (lines 38 & 39 and 46 & > 47) each need to be preceded by sudo, which was never the case on AWS > ubuntu installations, as far as I could tell. Also, I found that the way I > had the authentication set up, my default username, which did have sudo > privileges, did not have a password (I'd used an SSH key for login > credentials). Running any of the sudo -u postgres... commands (lines > 56-66) from my default account asked for that non-existent password, so I > had to switch to the root user with > > sudo su - > > before being able to run all of those lines correctly. > > After that, I was able to switch back to my default user account, pip > install virtualenv==1.11.4 and follow the rest of the documentation > without more trouble. > > Hope that helps you, or anyone exploring Google Compute Engine in the > future... > > Adam > > > On Sunday, October 16, 2016 at 9:42:55 PM UTC-5, Josh Conrad wrote: >> >> Im attempting to 'pip install arches_hip' according to the >> documentation on a Google Compute Engine instance running Ubuntu 14.04 LTS, >> and Im getting the following error: >> >> Could not open requirements file: [Errno 2] No such file or directory: >> '/home/dzahsh/Projects/ENV/lib/python2.7/site-packages/arches/install/requirements.txt' >> >> error: [Errno 2] No such file or directory: >> '/home/dzahsh/Projects/ENV/lib/python2.7/site-packages/arches/install/django_overrides/base.py' >> >> ---------------------------------------- >> >> Failed building wheel for arches >> Running setup.py clean for arches >> Successfully built arches-hip >> Failed to build arches >> Installing collected packages: arches, arches-hip >> Running setup.py install for arches ... done >> Successfully installed arches-3.1.2 arches-hip-1.0.4 >> >> >> Subsequent attempts to install ElasticSearch results in: >> >> File >> "/home/dzahsh/Projects/ENV/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", >> line 25, in <module> >> >> raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e) >> >> django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: >> No module named psycopg2 >> >> >> I dont seem to find any similar errors in the forum, except to be sure >> that the 'python-dev' tools are installed, which they are. >> >> Any suggestions? >> >> Josh >> >> -- -- To post, send email to firstname.lastname@example.org. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.