FW: PyNE Installation Help

41 views
Skip to first unread message

Garrett Burnette

unread,
Oct 21, 2022, 10:47:53 AM10/21/22
to pyne...@googlegroups.com

Update: I have downloaded Ubuntu and got this far, but came across the following error:

 

 

________________________________

 

Garrett N. Burnette

Graduate Researcher & Teaching Assistant

Department of Nuclear Engineering

University of Tennessee

 

301 Lippencott St. Apt. 1324

Knoxville, TN 37920

(502) 545 1190

 

gbur...@tennessee.edu

 

 

From: Garrett Burnette
Sent: Friday, October 21, 2022 12:07 AM
To: pyne-...@googlegroups.com
Subject: PyNE Installation Help

 

Dear PyNE group,

 

I am a graduate researcher working on integral cross section uncertainty propagation for the fast neutron source at UTK. MCNP is my preferred computational tool for my simulations, and PyNE is a source code I would like to utilize with PTRAC outputs. I am having issues with installation (Windows 11 with Oracle Virtualbox VM). Upon downloading the .ova file and starting it in the virtual machine (VM), I am getting the following error, with nothing occurring afterwards.

 

I cannot find any installation or source files once I open the .ova in the VM. Am I doing something wrong? Should I download python on the VM prior to running the pyne.ova file? I would really like to figure this out!

 

Thanks, Garrett

 

________________________________

 

Garrett N. Burnette

Graduate Researcher & Teaching Assistant

Department of Nuclear Engineering

University of Tennessee

 

301 Lippencott St. Apt. 1324

Knoxville, TN 37920

(502) 545 1190

 

gbur...@tennessee.edu

 

 

 

Paul Wilson

unread,
Oct 21, 2022, 10:51:01 AM10/21/22
to pyne...@googlegroups.com

Hi Garrett,

 

Sorry that you are having such a hard time getting this going.  As you have probably seen, our documentation for using a VM is a little out of date.  Can you confirm how you are trying to proceed with the message below?  Is this in a Ubuntu VM or using Windows Subsystem for Linux?

 

Paul

 

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul....@wisc.edu
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807

Computational Nuclear Engineering Research Group

 

--

---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-dev/2DB16DA0-FA66-49BE-9366-9F7BF77076A4%40hxcore.ol.

Garrett Burnette

unread,
Oct 26, 2022, 10:12:50 PM10/26/22
to pyne...@googlegroups.com

Dear Paul,

My apologies for any ambiguity with my previous attempt at installation. Ubuntu WSL is how I managed to properly install pyne (after finally running the ubuntu.sh file). I imported pyne into python and double checked to make sure it was an accessible module and it popped up when I ran help() modules. I then tried to import MCNP by running [from pyne import mcnp] to receive the following error regarding no module named progress within the utils.py file. I am unsure why this is occurring. I look forward to digging into the program and seeing what all there is to offer inside pyne, but my main objective is to read PTRAC files from MCNP.

 

Thanks, Garrett

 

________________________________

 

Garrett N. Burnette

Graduate Researcher & Teaching Assistant

Department of Nuclear Engineering

University of Tennessee

 

301 Lippencott St. Apt. 1324

Knoxville, TN 37920

(502) 545 1190

 

gbur...@tennessee.edu

 

 

From: Garrett Burnette
Sent: Tuesday, October 25, 2022 6:02 PM
To: Garrett Burnette
Subject: RE: PyNE Installation Help

 

Dear Paul,

My apologies for any ambiguity with my previous attempt at installation. Ubuntu WSL is how I managed to properly install pyne (after finally running the ubuntu.sh file). I imported pyne into python and double checked to make sure it was an accessible module and it popped up when I ran help() modules. I then tried to import MCNP by running [from pyne import mcnp] to receive the following error regarding no module named progress within the utils.py file. I am unsure why this is occurring. I look forward to digging into the program and seeing what all there is to offer inside pyne, but my main objective is to read PTRAC files from MCNP.

 

Thanks, Garrett

P2.png

Garrett N. Burnette

unread,
Oct 26, 2022, 10:12:54 PM10/26/22
to PyNE
Dear Paul,

My apologies for any ambiguity, but I was trying different methods of installation and got stuck using both VM and Ubuntu WSL. For the past few days, I have figured out how to install PYNE (after finally running the ubuntu.sh file) and get it imported into python interactively using Ubuntu WSL. After installing python, I ran help() modules to make sure PYNE was a module I can use, and it successfully pops up in the list (shown below). When I try to import mcnp, I am getting an error about no module named "progress" within the utils.py file (also shown below). My ultimate goal is to read ptrac files from MCNP.

Thanks, Garrett 

P2.pngP1.png

Paul Wilson

unread,
Oct 26, 2022, 10:15:53 PM10/26/22
to pyne...@googlegroups.com

Hi again Garrett,

 

Great to hear that you’ve made some good progress.  We recently added a dependency on the progress module to show a progress bar for some long-running methods.

 

If you are using pip to install other python packages, you should be able to run `pip install progress` and have that module available.

 

Paul

 

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul....@wisc.edu
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807

Computational Nuclear Engineering Research Group

 

 

 

From: pyne...@googlegroups.com <pyne...@googlegroups.com> on behalf of Garrett N. Burnette <garrettn...@gmail.com>
Date: Wednesday, October 26, 2022 at 21:13
To: PyNE <pyne...@googlegroups.com>
Subject: [PyNE] Re: PyNE Installation Help

Dear Paul,

My apologies for any ambiguity, but I was trying different methods of installation and got stuck using both VM and Ubuntu WSL. For the past few days, I have figured out how to install PYNE (after finally running the ubuntu.sh file) and get it imported into python interactively using Ubuntu WSL. After installing python, I ran help() modules to make sure PYNE was a module I can use, and it successfully pops up in the list (shown below). When I try to import mcnp, I am getting an error about no module named "progress" within the utils.py file (also shown below). My ultimate goal is to read ptrac files from MCNP.

 

Thanks, Garrett 

 

Reply all
Reply to author
Forward
0 new messages