[Wien] problem when running berrypi
Rubel, Oleg
rubelo at mcmaster.ca
Thu Sep 7 20:49:08 CEST 2017
Ok. Can you reply with config.py file attached?
I remember python being picky about single quote signs for the text variable enclosures.
...
#fix for location of python file locations when executing from the python commandline
DEFAULT_BIN_PATH='/home/rubel/BerryPI'
#Fix for python path to make sure it grabs the latest version
DEFAULT_PYTHON_PATH='/software/CentOS-6/tools/python-2.7.3/bin/python’
…
Also check
[rubel at lg-1r14-n04 GaN-W]$ which berrypi
Here is what I have:
alias berrypi='/software/CentOS-6/tools/python-2.7.3/bin/python /home/rubel/BerryPI/berrypi'
/software/CentOS-6/tools/python-2.7.3/bin/python
Thanks
Oleg
> On Sep 7, 2017, at 14:28, halim said <halim_said04 at yahoo.fr> wrote:
>
> Dear Prof Oleg,
>
> Thank you for your answer. I changed the path in config.py and set it as in the mentioned folder, also the folder home/ha/SRC_BerryPI/BerryPI
> exists.
>
> The same error occurs after changing the path, please what to do to solve the problem?
>
> I appreciate your help.
>
> Halim
>
>
> Le Jeudi 7 septembre 2017 19h23, "Rubel, Oleg" <rubelo at mcmaster.ca> a écrit :
>
>
> Please check that the folder /home/ha/SRC_BerryPI/BerryPI
> really exists. Your error message suggests that it can be /home/ha/WIEN2k/SRC_BerryPI/BerryPI
> In this case you should edit DEFAULT_BIN_PATH in config.py
>
> I hope it will fix your problem
> Oleg
>
> > On Sep 7, 2017, at 12:11, halim said <halim_said04 at yahoo.fr> wrote:
> >
> > Dear Wien2k users community,
> >
> > I am facing problem when running berrypi, i followed the example of GaN, but i am getting this error. How to solve it.
> >
> > gan> berrypi -k6:6:6
> > Traceback (most recent call last):
> > File "/home/ha/WIEN2k/SRC_BerryPI/BerryPI/berrypi", line 25, in <module>
> > import submoduleProcess as b_PySubProcess
> > File "/home/ha/WIEN2k/SRC_BerryPI/BerryPI/submoduleProcess.py", line 11, in <module>
> > from config import BERRY_DEFAULT_CONSOLE_PREFIX as DEFAULT_PREFIX
> > File "/home/ha/WIEN2k/SRC_BerryPI/BerryPI/config.py", line 14
> > DEFAULT_BIN_PATH=/home/ha/SRC_BerryPI/BerryPI
> > ^
> > SyntaxError: invalid syntax
> >
> >
> >
> > I would be thankful for your suggestion and answer to solve the problem.
> >
> > Looking forward your answer.
> >
> > Halim Said
>
> >
> >
> >
> >
> >
> > _______________________________________________
> > Wien mailing list
> > Wien at zeus.theochem.tuwien.ac.at
> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> > SEARCH the MAILING-LIST at: http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at: http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at: http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
More information about the Wien
mailing list