Pyana: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
Line 12: Line 12:
==Anaconda==
==Anaconda==


As of July 2022, Anaconda had reconsidered it's previous decision and again considers Fermilab to be a not-for-profit organization.  So once again it is legal to download and use Anaconda packages for free for use for Fermilab related activities. I have not yet checked whether or not the lab has removed the network block
The network block described in the following section was removed on September 13, 2022Anaconda has reconsidered it's previous decision and again considers Fermilab to be a not-for-profit organization.  So once again it is legal to download and use Anaconda packages for free for use for Fermilab related activities.


===Short Lived Blocking of Anaconda on the Fermilab site===
===Short Lived Blocking of Anaconda on the Fermilab site===


Between February and July 2022, Fermilab blocked network access to the Anaconda repository at repo.anaconda.com.
Between February and September 2022, Fermilab blocked network access to the Anaconda repository at repo.anaconda.com.
This was done because, for that period of time, Anaconda had notified Fermilab that the terms of their licensing agreement do not allow for free usage at the lab of the commercial Anaconda and Miniconda distributions. The community-supported distribution from Conda Forge, Miniforge, remains free.
This was done because, for that period of time, Anaconda had notified Fermilab that the terms of their licensing agreement do not allow for free usage at the lab of the default Anaconda and Miniconda repositories. The community-supported distribution from Conda Forge, Miniforge, remains free.


During the blockage Fermilab recommended that you use Miniforge to replace the functionality provided by Anaconda or Miniconda.
During the blockage Fermilab recommended that you use Miniforge to replace the functionality provided by Anaconda or Miniconda.  You continue to use Miniforge.


It is your responsibility as a Fermilab employee, user or affiliate to respect licensing agreements on Fermilab-owned hardware and networks. Some notes on using Miniforge in place of Anaconda can be found in this [https://fermi.servicenowservices.com/kb_view.do?sysparm_article=KB0014262 article].
It is your responsibility as a Fermilab employee, user or affiliate to respect licensing agreements on Fermilab-owned hardware and networks. Some notes on using Miniforge in place of Anaconda can be found in this [https://fermi.servicenowservices.com/kb_view.do?sysparm_article=KB0014262 article].


This decision was reversed by July 2022.
This decision was reversed on Sept 13, 2022.

Revision as of 15:32, 13 September 2022

Introduction

Pyana is a UPS product provided by the Mu2e offline group. It adds several common python analysis package to you path

setup mu2e
muse setup ...
setup pyana

It has several advantages over a personal python environment

  • uses cvfms disk space which is mounted everywhere
  • it allows coordination with the version of python in Offline so you can use features such as PyWrap
  • is enables easy sharing of scripts with other users

Anaconda

The network block described in the following section was removed on September 13, 2022. Anaconda has reconsidered it's previous decision and again considers Fermilab to be a not-for-profit organization. So once again it is legal to download and use Anaconda packages for free for use for Fermilab related activities.

Short Lived Blocking of Anaconda on the Fermilab site

Between February and September 2022, Fermilab blocked network access to the Anaconda repository at repo.anaconda.com. This was done because, for that period of time, Anaconda had notified Fermilab that the terms of their licensing agreement do not allow for free usage at the lab of the default Anaconda and Miniconda repositories. The community-supported distribution from Conda Forge, Miniforge, remains free.

During the blockage Fermilab recommended that you use Miniforge to replace the functionality provided by Anaconda or Miniconda. You continue to use Miniforge.

It is your responsibility as a Fermilab employee, user or affiliate to respect licensing agreements on Fermilab-owned hardware and networks. Some notes on using Miniforge in place of Anaconda can be found in this article.

This decision was reversed on Sept 13, 2022.