-
Notifications
You must be signed in to change notification settings - Fork 115
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
Ilegal Instruction when testing the installation code #195
Comments
hi @Escoastin , can you add which operating system and python version are you using? |
I see you use python 3.12... we never tested it with that version. Can you downgrade from 3.8 to 3.10? |
So here is another issue. I tried to downgrade but since I have to install Miniconda to activate the environment, it automatically updates it to Python3.12.4, which is confusing because I would like to use Python3.12 as you've suggested. Any way to get around this loop? |
did you try to create an environment with a specific python version with conda create --name myosuite python=3.8
conda activate myosuite |
Hi @Escoastin those tests are only to verify that all the environments are available and functioning correctly. In order to visualize the task you need to use the commands below: from myosuite.utils import gym
env = gym.make('myoElbowPose1D6MRandom-v0')
env.reset()
for _ in range(1000):
env.mj_render()
env.step(env.action_space.sample()) # take a random action
env.close() there are also colabs and tutorials |
Okay so I've finally fixed the display issue and am doing the visualizations of the task as you suggested. For the code above, do I type it into MyoSuite environment on Python in the terminal or I execute it elsewhere? (I am new to this so I'm still getting used to everything) |
That code is for a python terminal. We need to make it more clear in the Readme. |
Okay everything seems to work properly. One last question concerning the terminal part: Once I finish the for loop code, how do I enter the env.close() part in the terminal without it running? Or is that just how it works? |
what do you mean? |
this should not be happening. It is quite challenging for us to debug what is happening. We run tests against windows installation and everything should be working. Can you try for now to use Colabs for now and post more info when you manage to do some more troubleshooting? |
Okay I will use Colabs until I find a solution. Thank you very much! |
Having followed all the installation instructions at myosuite.readthedocs.io/en/latest/install.html ,
I executed the following code
as follows:
and I get the following error message:
After consulting ChatGPT, it recommended the following code to verify whether the computer architecture is compatible:
I get this:
Does anyone know how to proceed because it is very difficult to determine.
The text was updated successfully, but these errors were encountered: