-
Notifications
You must be signed in to change notification settings - Fork 9
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
Comments
It looks like you are doing it on Windows. The scripts were tested on
Xubuntu 16.04.5 LTS 64
You can try to edit the script to comply with the Windows version of the
subprocess calls.
Sorry, can't help you with this
…On Wed, Jul 3, 2019 at 3:40 AM Vidhey Oza ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ABENFVC427QKK3IRDLOLFWDP5R63FA5CNFSM4H5ENTBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5DFQQQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABENFVEGQCHLPDUGDNNSPGDP5R63FANCNFSM4H5ENTBA>
.
|
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
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
orsimulateRun.py
in PyCharm after altering thecurPath
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.The text was updated successfully, but these errors were encountered: