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

Support for pip #3568

Closed
joshgalvan opened this issue Sep 28, 2023 · 3 comments
Closed

Support for pip #3568

joshgalvan opened this issue Sep 28, 2023 · 3 comments

Comments

@joshgalvan
Copy link

OpenSim should be easily installable into any python environment via pip. The steps to currently get opensim working in Python are convoluted, and should be as simple as:

conda create --name opensimdev python=3.8
pip install opensim 

Or whichever Python version is required. I'm not even sure which one is needed because I haven't been able to successfully import opensim yet, but I believe it's 3.8.

I don't know enough about the project to know why it's not done this way, but I believe there should be an effort to get this to happen. The current way of running scripts found in install directories and cd-ing around and potentially modifying PATHs is abnormal.

@aymanhab
Copy link
Member

Although we may support pip in the future, we currently support anaconda which is slightly different but less python centric. Please check this page for the differences https://www.anaconda.com/blog/understanding-conda-and-pip
and here's the page to install the opensim conda package
https://anaconda.org/opensim-org/opensim

@joshgalvan
Copy link
Author

Thank you! I'm unsure if all of the previous steps of running certain scripts in certain directories helped or not, but after conda installing the package I was able to successfully import opensim. I'm not sure how I missed the alert about conda support at the top of here. But thank you again!

I'd say supporting conda in this way is just as useful as pip, and was the heart of opening the issue in the first place, so I'm okay with this being closed.

@nickbianco
Copy link
Member

Closing since resolved for the poster and duplicate of #3939.

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

3 participants