You are not logged in.

#1 2016-07-01 06:12:19

huohuo
Member
Registered: 2016-04-20
Posts: 28

pyenv local set not work

hi,
i have some python scripts that need to be exec using python whose versions are higher than 2.6 but not 3.x. as the default python version of arch is 3.5.1 now and i install version 2.7 by using pyenv.
then  i exec "pyenv local 2.7" in the place where the aiming scripts are, and i have checked the contents are "2.7" of the file ".python-version". and the contents are "system" in the file "version" at my home directory.
but the output are "MadGraph5_aMC@NLO works only with python 2.6 or later (but not python 3.X).Please upgrate your version of python" after i exec the script.

so what should i do and i really hope someone could help me.

thanks in advance

Offline

#2 2016-07-01 06:46:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pyenv local set not work

Not a Laptop issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-01 06:47:07

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: pyenv local set not work

Mod note: Not a laptop issue, moving to NC.

Edit: Nevermind tongue

Last edited by x33a (2016-07-01 06:47:34)

Offline

Board footer

Powered by FluxBB