Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to work in PyCharm #1

Open
vidheyoza opened this issue Jul 3, 2019 · 2 comments
Open

Trying to work in PyCharm #1

vidheyoza opened this issue Jul 3, 2019 · 2 comments

Comments

@vidheyoza
Copy link

I have successfully installed OpenSim, and arranged the directories of the repo as given in the README. When I try to run the file simulateWalk.py or simulateRun.py in PyCharm after altering the curPath accordingly, I get the following error:

runfile('/Users/vidhey/coding/Python/elimax/SimulationDataAndSetupFiles4.0/Python/simulateWalk.py', wdir='/Users/vidhey/coding/Python/elimax/SimulationDataAndSetupFiles-4.0/Python') Traceback (most recent call last): File "<input>", line 1, in <module> File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "/Users/vidhey/coding/Python/elimax/SimulationDataAndSetupFiles-4.0/Python/simulateWalk.py", line 30, in <module> rc = runProgram(cmdfull) File "/Users/vidhey/coding/Python/elimax/SimulationDataAndSetupFiles-4.0/Python/simFunctions.py", line 10, in runProgram stderr=subprocess.STDOUT) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

How do I solve this? I'm not very well versed with subprocess package, so I'm sure what changes to make there to run the code on PyCharm.

@rebrik
Copy link
Owner

rebrik commented Jul 4, 2019 via email

@vidheyoza
Copy link
Author

I'm working on macOS not Windows, can you help me with that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants