Step 1:
-Installed virtual machine (Ubuntu on Mac) and allocated 4GB of RAM
Step 2:
Following instructions found on on "https://github.com/archesproject/arches" Installed dependencies: (replaced bitbucket link with github)
wget https://github.com/archesproject/arches/blob/master/arches/install/ubuntu_trusty_setup.sh
chmod +x ubuntu_trusty_setup.sh
./ubuntu_trusty_setup.sh
This took about 5 minutes to install and all dependencies seem to be installed!
Step 3:
The next step was downloading “get-pip.py”
I then ran “python get-pip.py” but received the following errors or exceptions that appear in red text. The link provided in blue text bellow suggest that I upgrade to python 2.7.9
Collecting pip
/tmp/tmp0SyKHy/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
/tmp/tmp0SyKHy/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
Downloading pip-8.1.1-py2.py3-none-any.whl (1.2MB)
100% |████████████████████████████████| 1.2MB 396kB/s
Collecting setuptools
Downloading setuptools-20.9.0-py2.py3-none-any.whl (508kB)
100% |████████████████████████████████| 512kB 471kB/s
Collecting wheel
Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
100% |████████████████████████████████| 71kB 621kB/s
Installing collected packages: pip, setuptools, wheel
Exception:
Traceback (most recent call last):
File "/tmp/tmp0SyKHy/pip.zip/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/tmp/tmp0SyKHy/pip.zip/pip/commands/install.py", line 317, in run
prefix=options.prefix_path,
File "/tmp/tmp0SyKHy/pip.zip/pip/req/req_set.py", line 732, in install
**kwargs
File "/tmp/tmp0SyKHy/pip.zip/pip/req/req_install.py", line 835, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/tmp/tmp0SyKHy/pip.zip/pip/req/req_install.py", line 1030, in move_wheel_files
isolated=self.isolated,
File "/tmp/tmp0SyKHy/pip.zip/pip/wheel.py", line 344, in move_wheel_files
clobber(source, lib_dir, True)
File "/tmp/tmp0SyKHy/pip.zip/pip/wheel.py", line 315, in clobber
ensure_dir(destdir)
File "/tmp/tmp0SyKHy/pip.zip/pip/utils/__init__.py", line 83, in ensure_dir
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pip'
sudo pip install virtualenv==1.11.4 (works OK)
Create "Project" directory enter Project directory.
virtualenv ENV (works OK)
source ENV/bin/activate (works OK)
pip install arches (sample of errors throughout instalation as follows:)
sample at start of installation:
warning: no previously-included files found matching 'arches/logs/*.txt'
warning: no previously-included files matching '*' found under directory 'tests'
warning: no previously-included files matching '*' found under directory 'virtualenv'
warning: no previously-included files matching '*' found under directory 'arches/elasticsearch'
warning: no previously-included files matching '*' found under directory 'arches/uploadedfiles'
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
and at end:
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /home/couimet/Projects/ENV/bin/python -c "import setuptools, tokenize;__file__='/home/couimet/Projects/ENV/build/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pt7G0M-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/couimet/Projects/ENV/include/site/python2.7 failed with error code 1 in /home/couimet/Projects/ENV/build/psycopg2
Storing debug log for failure in /home/couimet/.pip/pip.log
30917670 [100.00%]
Successfully installed arches
Cleaning up...
(ENV)couimet@ubuntu:~/Projects$
I also tried with sudo pip install arches, but that seems to make it worst.
Thanks again.
Christian
--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesprojec...@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 archesprojec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Projects /ENV (virtual environment where arches_hip gets installed) /my_hip_app manage.py wsgi.py README.txt /my_hip_app settings.py setup.py urls.py /elasticsearch /logs /media /models /source_data /templates /tests /views
Projects
/ENV (virtual environment where arches_hip gets installed)
/my_hip_app
manage.py
wsgi.py
README.txt
/my_hip_app
settings.py
setup.py
urls.py
/elasticsearch
/logs
/media
/models
/source_data
/templates
/tests
/views