neutrons / PyRS

Reduction and visualization software for Stress Residual (HB2B)
https://neutrons-pyrs.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
6 stars 7 forks source link

Installing PyRS - Problem with mamba #845

Closed aapaecklar closed 1 year ago

aapaecklar commented 1 year ago

Hello,

I am trying to install PyRs with:

mamba env create --name pyrs --file environment.yml

but unfortunatley, I get the following error message:

EnvironmentFileNotFound: '/home/paecklar/environment.yml' file not found

Thank you in advance for your help!

With kind regards, Arnold

bretteiffert commented 1 year ago

Arnold,

Have you cloned the repository yet? Basic setup steps:

  1. Clone the repository to your machine
  2. cd into the PyRS folder produced from cloning the repository
  3. Execute the command you're trying to run

The environment.yml is at the top level of the PyRS folder.

Let me know how that goes.

Brett

aapaecklar commented 1 year ago

Hello Brett,

thank you for your feedback. Yes, that was my problem and I was able to install it. I was very naively following the instruction. Not having been familiar at that time with mamba (or what mamba is), I for whatever reason assumed that it would also download the package automatically.

Nevertheless, what was initially also not quite clear to me which dependencies list to use, especially since the installation instructions are a little bit different on github vs. the readthedocs.io page.

With kind regards, Arnold