I have installed recent OpenSim 4.0 version (OpenSim-40Beta-2018-08-27-win64.exe). Now, I am trying to install OpenSim python package using Anaconda prompt. For that, I have followed the steps for Windows 64 given here: https://simtk-confluence.stanford.edu/d ... nvironment
After running command "python setup.py install", I am getting following error:
Code: Select all
running install
running bdist_egg
running egg_info
writing top-level names to opensim.egg-info\top_level.txt
writing opensim.egg-info\PKG-INFO
writing dependency_links to opensim.egg-info\dependency_links.txt
reading manifest file 'opensim.egg-info\SOURCES.txt'
writing manifest file 'opensim.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
copying opensim.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying opensim.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying opensim.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying opensim.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
writing build\bdist.win-amd64\egg\EGG-INFO\native_libs.txt
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
File "setup.py", line 31, in <module>
'Topic :: Scientific/Engineering :: Physics',
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Desktop\Anaconda3\envs\william\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Desktop\Anaconda3\envs\william\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\Desktop\Anaconda3\envs\william\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Desktop\Anaconda3\envs\william\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Desktop\Anaconda3\envs\william\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\command\bdist_egg.py", line 220, in run
os.path.join(archive_root, 'EGG-INFO'), self.zip_safe()
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\command\bdist_egg.py", line 273, in zip_safe
return analyze_egg(self.bdist_dir, self.stubs)
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\command\bdist_egg.py", line 383, in analyze_egg
safe = scan_module(egg_dir, base, name, stubs) and safe
File "C:\Users\Desktop\Anaconda3\envs\william\lib\site-packages\setuptools\command\bdist_egg.py", line 422, in scan_module
code = marshal.load(f)
ValueError: bad marshal data (unknown type code)
Also, I want to emphasize that, I was able to do the python installation with the previous version of OpenSim 4.0 Beta (OpenSim-4.0.Beta_032718-win64), which was uploaded in March, I guess. But the recent version of 4.0 (OpenSim-40Beta-2018-08-27-win64.exe) is giving the above error. Something has changed in the recent version. Can anyone help to rectify this error?
Thanks,
William