irreducible-representations / irrep

GNU General Public License v3.0
62 stars 31 forks source link

Offline installation #54

Closed zhoumeimei-yeah closed 2 years ago

zhoumeimei-yeah commented 2 years ago

Dear Stepan: I'm having some problems with the installation, our machine is not connected to the Internet, is there any way to install it offline without PIP?

Regards, Zhou

MIraola commented 2 years ago

Dear @zhoumeimei-yeah ,

During the installation, internet connection is required just to download the source code. It is thus possible to install IrRep without internet connection, as long as you have a way to place the source files in your machine. You basically need to follow these steps:

1- Get the source code. For example: running git clone https://github.com/stepan-tsirkin/irrep.git in a computer with internet connection. 2- Take the source code to the machine where you want to install it. 3- Enter the directory containing the file called setup.py and run

python setup.py install

or

pip install .

Bests, Mikel

zhoumeimei-yeah commented 2 years ago

Dear Stepan: Thank you for your prompt reply. It has been successfully installed and tested Regards, Zhou