xbpeng / DeepMimic

Motion imitation with deep reinforcement learning.
https://xbpeng.github.io/projects/DeepMimic/index.html
MIT License
2.29k stars 484 forks source link

DeepMimicCore.py is not generated #67

Open kidach1 opened 5 years ago

kidach1 commented 5 years ago

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
xbpeng commented 5 years ago

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

kidach1 commented 5 years ago

Yes, my build was successful.

output is this:

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

Zju-George commented 5 years ago

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.