Facing Error during Installation

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Hariharasudhan N
Posts: 2
Joined: Sun May 21, 2023 3:05 pm

Facing Error during Installation

Post by Hariharasudhan N » Thu May 25, 2023 11:28 am

Hello Everyone,

I have just now started using OpenSim 4.4. I am facing a problem with the command "(opensim_scripting) $ python -m pip install ."
I don't know why this command is not successful while running in the Mac terminal. I have installed Anaconda and followed the mentioned commands on the website.

Could someone please help me how to resolve this issue? I have also attached the screenshot of the error from the terminal.
Attachments
Screenshot 2023-05-25 at 11.46.56 PM-min.png
Screenshot 2023-05-25 at 11.46.56 PM-min.png (286.4 KiB) Viewed 660 times

Tags:

User avatar
Carmichael Ong
Posts: 401
Joined: Fri Feb 24, 2012 11:50 am

Re: Facing Error during Installation

Post by Carmichael Ong » Thu May 25, 2023 1:44 pm

There are now conda packages for OpenSim, which is an easier way to get a scripting environment working in Python with OpenSim. More details can be found at the documentation page here: https://simtk-confluence.stanford.edu:8 ... da+Package

Additional information can also be found here: https://anaconda.org/opensim-org/opensim

User avatar
Hariharasudhan N
Posts: 2
Joined: Sun May 21, 2023 3:05 pm

Re: Facing Error during Installation

Post by Hariharasudhan N » Sat May 27, 2023 11:44 am

But when I try to use the given command that is, conda install -c opensim-org opensim, I was getting "can't able to find the package" and when I try to search the channels using, conda search -c opensim-org, which is used to view the packages, I wasn't able to find any package named opensim... again I have attached the related screenshots.

I have tried updating conda, but still can able to solve this. what can I do to resolve this?
Attachments
Screenshot 2023-05-28 at 12.10.01 AM-min.png
Screenshot 2023-05-28 at 12.10.01 AM-min.png (412.11 KiB) Viewed 545 times
Screenshot 2023-05-28 at 12.00.07 AM-min.png
Screenshot 2023-05-28 at 12.00.07 AM-min.png (573.85 KiB) Viewed 545 times

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Facing Error during Installation

Post by Ayman Habib » Tue May 30, 2023 11:44 am

Hello,

Based on the names of the packages that Conda is trying to locate in your screen capture, it appears that your environment is arm64 rather than x86_64. We do not have M1 (arm_64) based conda package, though we may try to publish one in the future. Your options are to use python/conda in x86_64 environment and then the opensim package will be found, or to use a jupyter notebook (with linux backend) and then the problem will be fixed.

Hope this helps,
-Ayman

POST REPLY