Go Back   Forums > Professional Forum > AnyBody Managed Model Repository


Thread Tools Display Modes
Old 09-21-2018, 03:50 AM
johntiger johntiger is offline
Junior Member
Join Date: Jul 2016
Posts: 4
Default MoCap-GMFoot.main load failed

I want to run the GM MoCAP foot model.But when I load the model,one error appears as following:
Evaluating constants...
ERROR(SCR.EXP.FUN.EXT4) : C:/P..s/A..y/A..0/AMMR/A..n/Beta/M..t/S..g/RBFLandmarks.any(78) : ReadMLFile : AnyBody.Python extension module is not installed or does not match installed version of Python.
Model loading skipped

I have installed the python according to the instruction.
And add the following words in the top of AnyBody main file
#path ANYBODY_PATH_PYTHONHOME "D:\Anaconda2\envs\py37_foot".I have tried many times,but it always failed.

Could you please give me some suggestions?Thank you!

Best regards!
John Tiger
Reply With Quote
Old 09-21-2018, 11:11 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
Join Date: Feb 2009
Posts: 924

Hi John,

I think it can be two things.

1: there is a version conflict on AMS and python, both need to be either 32 bit or 64 bit, they can not be different
2: Please try to use python 2.7

Best regards
TIP: How to save and load results. play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
Old 09-21-2018, 12:08 PM
johntiger johntiger is offline
Junior Member
Join Date: Jul 2016
Posts: 4


Thanks for your message!
I have paid attention to the problems that you mentioned. As for the software,
AMS and python are both 64 bit and python version is 2.7.

But the error still exists.

I guess if the sentence
#path ANYBODY_PATH_PYTHONHOME "D:\Anaconda2\envs\py37_foot" is not right.Or
something else causes the problem.
Best regards,
Reply With Quote
Old 09-23-2018, 07:45 PM
Zach_Welshman Zach_Welshman is offline
Join Date: Sep 2016
Posts: 40

Hi John,
You probably have changed the name in the env, but i noticed you have the env as :


when the anybody website has the location as :



To create and use the environment please follow these two steps:

Open a prompt
write: conda create --name py27_foot --file FootModelPython_spec_file.txt
in the top of your AnyBody main file please write :
#path ANYBODY_PATH_PYTHONHOME "TYPE_IN_YOUR_PATH_TO_ANACONDA\Continuum\Anaconda2 \envs\py27_foot"
Reply With Quote
Old 09-24-2018, 02:50 PM
Zach_Welshman Zach_Welshman is offline
Join Date: Sep 2016
Posts: 40
Default GM loading problem

Hi John, I've found the problem.

When I change the directory path to the correct location on my computer

My model fails with the message:

ERROR(SCR.EXP0) : D:/D..s/AMMR/A..n/Beta/M..t/S..g/RBFLandmarks.any(4) : 'Points1' : Error in expression. Please refer to the following error messages for details ...
ERROR(SCR.EXP.FUN.EXT8) : D:/D..s/AMMR/A..n/Beta/M..t/S..g/RBFLandmarks.any(78) : ReadMLFile : Exception in Python extention module.
Python error : File "D:\Documents\AMMR\Application\Beta\MoCap-GMFoot\Scaling\", line 24

This error is due to and indenting issue on line 24 in the ReadMeshLab in file having a tab at the start of line 24, when it should be 4 spaces:

Line24:        vec = [float(res[0]), float(res[1]), float(res[2])]
You should double check your #path file is correct (location and any potential admin blocks) and that the start of line 24 of the ReadMeshIn is changed from a tab to 4 spaces.

Attached is the edited ReadMeshLabIn file with the edit.

I am using python 3.5

Attached Files
File Type: txt ReadMeshlabIn.txt (945 Bytes, 3 views)

Last edited by Zach_Welshman; 09-24-2018 at 02:53 PM. Reason: Clarification
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:38 PM.