From 4630a5ffb8e4c3c955edf5deb9f1c7c2d7989ecc Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 25 Feb 2022 08:43:38 -0500 Subject: [PATCH] must create virtualenv with same python we selected to run install.py --- python/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/install.py b/python/install.py index 32b39fb421..3b01a834b5 100644 --- a/python/install.py +++ b/python/install.py @@ -55,7 +55,7 @@ shutil.rmtree('buildwheel',True) os.putenv('LAMMPS_SHARED_LIB',args.lib) #os.environ['LAMMPS_SHARED_LIB'] = args.lib shutil.copy(args.lib,'lammps') -os.system(sys.executable + ' -m virtualenv buildwheel') +os.system(sys.executable + ' -m virtualenv buildwheel -p ' + sys.executable) os.system(sys.executable + ' makewheel.py') # remove temporary folders and files