[Wien] scf2forces

Gavin Abo gsabo at crimson.ua.edu
Wed Apr 13 02:57:52 CEST 2016


ImportError: No module named pyparsing => The pyparsing module is likely 
not installed.

A search of the Internet shows that it should be installable on Ubuntu 
or Debian using [1]:

sudo apt-get install python-pyparsing

While, it is typically installed on Linux distributions with 
easy_install [2] or pip [3] using:

easy_install pyparsing

or

pip install pyparsing

[1] https://software.intel.com/en-us/forums/internet-of-things/topic/532046
[2] http://pyparsing.wikispaces.com/Download+and+Installation
[3] https://sourceforge.net/p/pyparsing/bugs/65/

On 4/11/2016 8:49 AM, Rajneesh Chaurasiya wrote:
>
> Dear Sir,
> I installed the phonopy version 10.0 successfully but i put the 
> command line it showing the error like this.
> Please suggest me.
>
> [ambeshst at IITJ_HPC NaCl-wien2k]$ phonopy --wien2k -c NaCl.struct -p 
> band.conf
>         _
>   _ __ | |__   ___  _ __   ___   _ __  _   _
>  | '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | |
>  | |_) | | | | (_) | | | | (_) || |_) | |_| |
>  | .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, |
>  |_|                            |_|    |___/
>                                       1.10.0
>
> Python version 2.7.11
> Band structure mode
> Settings:
>   Supercell: [2 2 2]
>   Primitive axis:
>     [ 0.   0.5  0.5]
>     [ 0.5  0.   0.5]
>     [ 0.5  0.5  0. ]
> Spacegroup: Fm-3m (225)
> Computing force constants...
> Reciprocal space paths in reduced coordinates:
> [ 0.00  0.00  0.00] --> [ 0.50  0.00  0.00]
> [ 0.50  0.00  0.00] --> [ 0.50  0.50  0.00]
> [ 0.50  0.50  0.00] --> [-0.00 -0.00  0.00]
> [ 0.00  0.00  0.00] --> [ 0.50  0.50  0.50]
> Traceback (most recent call last):
>   File "/home/IITJHOME/ambeshst/win2k13mpi/python/bin/phonopy", line 
> 938, in <module>
>     plot = phonon.plot_band_structure(symbols=settings.get_band_labels())
>   File 
> "/home/IITJHOME/ambeshst/win2k13mpi/python/lib/python2.7/site-packages/phonopy/api_phonopy.py", 
> line 510, in plot_band_structure
>     import matplotlib.pyplot as plt
>   File 
> "/home/IITJHOME/ambeshst/win2k13mpi/python/lib/python2.7/site-packages/matplotlib-1.5.0-py2.7-linux-x86_64.egg/matplotlib/__init__.py", 
> line 124, in <module>
>     from matplotlib.rcsetup import (defaultParams,
>   File 
> "/home/IITJHOME/ambeshst/win2k13mpi/python/lib/python2.7/site-packages/matplotlib-1.5.0-py2.7-linux-x86_64.egg/matplotlib/rcsetup.py", 
> line 25, in <module>
>     from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
>   File 
> "/home/IITJHOME/ambeshst/win2k13mpi/python/lib/python2.7/site-packages/matplotlib-1.5.0-py2.7-linux-x86_64.egg/matplotlib/fontconfig_pattern.py", 
> line 25, in <module>
>     from pyparsing import Literal, ZeroOrMore, \
> ImportError: No module named pyparsing


More information about the Wien mailing list