Quick Install Guide
MCNPy is packaged as a Python wheel and thus is installed like a regular package.
Download
Dependencies
The Python dependencies will be automatically retrieved during installation.
Important
At this time, MetaPy must be manually downloaded and then installed from the .whl file. Running pip install metapy will retrieve the wrong package.
Install
Clone the repository:
git clone https://github.rpi.edu/NuCoMP/mcnpy.git.- Ensure you are running the desired Python environment.
Try
conda activate ENV_NAMEto switch.
- Run
pip install /path/to/cloned/repo/dist/mcnpy-X.whlwhereXis the version. All dependencies except
metapywill be downloaded if needed.metapymust be installed from the MetaPy repository.
- Run
Done!
Uninstall
pip uninstall mcnpy