DeepMimic icon indicating copy to clipboard operation
DeepMimic copied to clipboard

DeepMimicCore.py is not generated

Open kidach1 opened this issue 5 years ago • 3 comments

Hi, I got only _DeepMimicCore.pyd without DeepMimicCore.py after I built DeepMimicCore.sln with the Release_Swig.

And if I try to run DeepMimic.py, I get this error:

(py36) D:\workspace\ML\DeepMimic-master1>python DeepMimic.py --arg_file args/run_humanoid3d_spinkick_args.txt
Traceback (most recent call last):
  File "DeepMimic.py", line 9, in <module>
    from env.deepmimic_env import DeepMimicEnv
  File "D:\workspace\ML\DeepMimic-master1\env\deepmimic_env.py", line 3, in <module>
    from DeepMimicCore import DeepMimicCore
ImportError: cannot import name 'DeepMimicCore'

Could you help me?

My environmets:

Microsoft Windows [Version 10.0.17763.0]
Visual Studio 2017
Python 3.6
bullet3-2.87 (built with single precision)
swigwin-4.0.0

kidach1 avatar Jul 05 '19 06:07 kidach1

Was the Release_Swig build successful? This is output any errors messages when building?

xbpeng avatar Jul 05 '19 21:07 xbpeng

Yes, my build was successful.

output is this:

DeepMimicCore - Microsoft Visual Studio 2019-07-06 07 58 21

kidach1 avatar Jul 05 '19 23:07 kidach1

Yes, my build was successful.

output is this:

DeepMimicCore - Microsoft Visual Studio 2019-07-06 07 58 21

you probably need to specify PYTHON_INCLUDE & PYTHON_LIB , in you output, they show nothing after :, note that they are echoed like in CMD you echo something. You can look into DeepMimicCore.i, there is a command line.

Zju-George avatar Jul 29 '19 06:07 Zju-George