<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>On the python 3 issue at JLab. Upshot seems to be that you should
not use /apps/python/PRO/bin or /apps/python/bin in your path
unless you want to use python 3...<br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
</th>
<td>CCPR 158883 UPDATE (Misconfiguration for python on
ifarm?)</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date: </th>
<td>Fri, 20 Jul 2018 13:23:23 -0400 (EDT)</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:ccpr_reply@jlab.org">ccpr_reply@jlab.org</a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:marki@jlab.org">marki@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:kelvin@jlab.org">kelvin@jlab.org</a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap="nowrap">CC: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:letta@jlab.org">letta@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:rackley@jlab.org">rackley@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:kelvin@jlab.org">kelvin@jlab.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:wise@jlab.org">wise@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:philpott@jlab.org">philpott@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:bangdm@jlab.org">bangdm@jlab.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:srwhite@jlab.org">srwhite@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:jperry@jlab.org">jperry@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:bmorris@jlab.org">bmorris@jlab.org</a>,
<a class="moz-txt-link-abbreviated" href="mailto:cew@jlab.org">cew@jlab.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:wmoore@jlab.org">wmoore@jlab.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Here is an update to the help request you submitted.
When you reply to THIS message, Please DO NOT include the original text below.
Mod Date: 2018/07/20
Mod Time: 13:23:18
Mod User: kelvin
Current State: COMPLETE
STATE changed from (RECEIVED) to COMPLETE.
--------------------------------------------------------------
Mark,
One might assume that would be the case. However, its usually the
case that the program name for python version 3, is python3. This
leaves python as a python version 2 binary. Thus, /apps/bin/python
points to the latest version of python2 on teh system and python3
pointing to the PRO version of python 3. Hope this helps.
Also, note that 'use python/2.7.12' will also put python and it
associated applications and libraries into your path ahead of what is
currently there.
--------------------------------------------------------------
Here is a copy of your Original Request:
Email: <a class="moz-txt-link-abbreviated" href="mailto:marki@jlab.org">marki@jlab.org</a>
Name:
Username:
Staff: kelvin
Platform:
Building:
Room:
Hostname:
Category: CENTRAL COMPUTING
Subject: Misconfiguration for python on ifarm?
Submitted: 7/19/2018 1:41 PM
Request:
Shouldn't /apps/bin/python be the same as /apps/python/PRO/bin? Plus
shouldn't the PRO version be python 2 and not 3?
ifarm1402:marki:python> pwd
/u/apps/python
ifarm1402:marki:python> ls -l
total 16
drwxr-xr-x 8 root  root 4096 Apr 6 13:49 2.7.12
drwxr-xr-x 8 kelvin ccc 4096 May 24 10:26 3.3.1
drwxr-xr-x 9 kelvin ccc 4096 Apr 10 14:36 3.4.3
lrwxrwxrwx 1 kelvin ccc    7 Nov 5 2014 bin -> PRO/bin
lrwxrwxrwx 1 kelvin ccc    7 Nov 5 2014 lib -> PRO/lib
lrwxrwxrwx 1 root  root   5 Apr 2 15:45 PRO -> 3.4.3
lrwxrwxrwx 1 kelvin ccc   27 Jul 3 13:18 python-2.7.7-anaconda ->
python-2.7.7-anaconda-4.3.1
drwxr-xr-x 20 kelvin ccc 4096 May 24 10:37 python-2.7.7-anaconda-4.3.1
lrwxrwxrwx 1 kelvin ccc    9 Nov 5 2014 share -> PRO/share
and
ifarm1402:marki:marki> cd /apps/bin
ifarm1402:marki:bin> pwd
/u/apps/bin
ifarm1402:marki:bin> ls -l python
lrwxrwxrwx 1 root root 30 Dec 6 2017 python ->
/apps/python/2.7.12/bin/python
The following link will bring you to a list of open CCPR's
<a class="moz-txt-link-freetext" href="http://mis.jlab.org/mis/ccpr/ccpr_user/ccprframe_user.html">http://mis.jlab.org/mis/ccpr/ccpr_user/ccprframe_user.html</a>
</pre>
</div>
</body>
</html>