Problem in Moltemplate installation

Dear users

I want to use Moltemplate to create input file for LAMMPS. I work with LAMMPS in linux bash shell in windows 10. But I have faced with a problem in Moltemplate installation, and be appreciated if help me.

I installed Moltemplate according to its manual. After downloading moltemplate via


then unpacked it by:

-tar -xzvf moltemplate_2017-4-11.tar.gz

therefore I applied the first method of installation via pip:

-cd moltempalte_2017-4-11

then installed by:

-pip install .

In addition I have installed anaconda to update the PATH automatically.

But after logging out and log in and typing:

This error is appeared:

Hi Sousa

  I am unable to reproduce your problem. I am using anaconda 4.4.0
(python3 version) in ubuntu 16.04. (However I don't think your
problem is a result of using a different version of anaconda.) I am
also using a similar procedure to install moltemplate:
git clone ~/moltemplate
cd ~/moltemplate
pip install .

  Your problem sounds like an issue with the way anaconda was
installed in your system. I suppose it could also mean that you might
have some old version of moltemplate that you installed previously
using pip that was not successful and/or not cleanly uninstalled.
(I'm just guessing here.)

   If you don't have time to fix your issues with anaconda, you can
always set your PATH environment variable manually by adding the
following lines to your ~/.bashrc (or ~/.profile) file:

export PATH="$PATH:$HOME/moltemplate/moltemplate"
export PATH="$PATH:$HOME/moltemplate/moltemplate/scripts"

That's all you need to do. Once you have done this, you do not need
to use pip. (However you need to start a new terminal for the changes
to take effect.) This assumes you moved/renamed the moltemplate
directory into your home directory: (mv moltempalte_2017-4-11


P.S. If you don't want to manually change your PATH, you could also
try using "virtualenv" to create an independent python environment
where you can safely install and remove packages. This is a safe and
useful way to install python packages in general, without risk of
mucking things up:
cd ~/moltemplate #
virtualenv venv
source venv/bin/activate
pip install .
... Then in the future, whenever you want (and to be in your path, run this command beforehand:

source ~/moltemplate/venv/bin/activate