Using different versions of Linux and Python

23 views
Skip to first unread message

Lucy FJ

unread,
Feb 12, 2017, 8:02:04 AM2/12/17
to Arches Project

Hi all,

Having done some Arches customization we have hit some strange technical problems so we decided to check everything from the installation of dependencies onwards. It appears that we are using Oracle Linux 6.7 for our Arches app. Has anyone had any problems with this? 

It also seems that we are using Python v 2.6.6 not 2.7.6 which was suggested for Arches. We know later versions can cause problems but can earlier ones? If we need the later version of Python can we simply download it and install without redoing the whole Arches installation again? 

Thank you very much for your help!

Lucy

Alexei Peters

unread,
Feb 14, 2017, 11:51:46 AM2/14/17
to Lucy FJ, Arches Project
Hi Lucy,
Can't really comment on your version of Linux, but upgrading to Python 2.7 shouldn't require you to re-install Arches.
Cheers,
Alexei


Director of Web Development - Farallon Geographics, Inc. - 971.227.3173

--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesproject+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lucy Fletcher-Jones

unread,
Feb 15, 2017, 3:43:12 AM2/15/17
to Alexei Peters, Arches Project
Thank you, Alexei. Do you think that Python 2.7.6 is absolutely essential? 

Lucy

Lucy Fletcher-Jones 
Egypt Database Project
TMP Room 2181, HUSS Building AUC New Campus
Tel: 02 2615 1760
Mobile: 010 1633 8367


On Tue, Feb 14, 2017 at 6:51 PM, Alexei Peters <ape...@fargeo.com> wrote:
Hi Lucy,
Can't really comment on your version of Linux, but upgrading to Python 2.7 shouldn't require you to re-install Arches.
Cheers,
Alexei


Director of Web Development - Farallon Geographics, Inc. - 971.227.3173

Adam Cox

unread,
Feb 20, 2017, 1:01:52 PM2/20/17
to Arches Project
Lucy, if you are having issues, the first step you should take is to make sure you are using python 2.7.6. The trick is that you must have virtualenv installed in the appropriate version of python before using it to make the virtual environment for your app. You can test this by activating your virtual environment and then typing python which will open the python interpreter, and in the header you will see what version your virtual environment is based on. This should be 2.7.6.

Adam

Lucy FJ

unread,
Feb 21, 2017, 2:56:06 AM2/21/17
to Arches Project
Hi Adam,
I followed your instructions and we are using Python version 2.7.6 .I do not totally understand about having Python 2.7.6 in the virtual environment. I assume that that is ENV? I an uploading snips of the entire library structure we have on our server. Our app is called 'EAD', these libraries are not in ENV. Is this correct? is ths structure correct? We are still having problems with compiling python by simply starting Arches - we need to use the runserver command and the JPEG decoder did not get installed. That is an old issue I asked you about before and you gave me a helpful answer but we haven't been able to try it out yet. 
Thank you very much for your help, as ever. Lucy

 

Adam Cox

unread,
Feb 21, 2017, 12:05:28 PM2/21/17
to Lucy FJ, Arches Project
Yes, that directory structure looks fine.

--

Lucy Fletcher-Jones

unread,
Feb 21, 2017, 12:42:16 PM2/21/17
to Adam Cox, Arches Project
Thank you, Adam. 

Sent from my iPad
Reply all
Reply to author
Forward
0 new messages