-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conda package can't find (or doesn't include) opensim-cmd
executable
#29
Comments
@nickbianco I created a conda package on opensim_admin channel |
Great, I'll give it a shot! Do you have a Python 3.9 build? I could test the change directly in my AddBiomechanics environment which needs the opensim-cmd executable. |
Oh, wait. I can just pull down whatever I need from opensim_admin, I think? |
True but I only built/uploaded the 3.8 variant, I can do 3.9 in less than
an hour.
…On Fri, Mar 17, 2023 at 12:05 PM Nicholas Bianco ***@***.***> wrote:
Oh, wait. I can just pull down whatever I need from opensim_admin, I think?
—
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6JY4G4E2NVVNNUEV5QUITW4SYZJANCNFSM6AAAAAAV52GEZU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Okay, sounds good. I'll give the py38 version a try now. |
Looks like it worked! The opensim-cmd executable appears under I had to install the package using the tar file you posted, installing from the opensim_admin channel failed on Ubuntu. But it seems like that's because the build you created was for Windows (i.e., the executables all have .exe extensions)? |
Perfect, I'm building 3.7, 3.8 and 3.9 and will upload later today. We'll do the remaining platforms on ci if possible. |
Windows 3.9 package is now up if still needed, while the others are still building. All packages will be on the opensim_admin channel before moving to the public opensim-org channel. |
I'll need the Linux package for my workflow. Once that's done building I can test it out. |
@nickbianco I'm having problems building on linux because of an internal compiler error building Moco Examples, are you familiar with this? or can we disable building these examples by setting flags in CMake since we're not building Moco anyway for this package? Thank you #23 3372.2 [ 84%] Building CXX object OpenSim/Examples/Moco/exampleHangingMuscle/CMakeFiles/exampleHangingMuscle.dir/exampleHangingMuscle.cpp.o |
@AlbertoCasasOrtiz Thanks for the docker container, it worked great, I'm using it to build a variant that includes the utilities but running into the issue above, have you seen this during testing the container? Thank you |
I haven't seen this error, but it could be that the Docker container is running out of memory. If simply increasing the memory doesn't work, then yes, let's just disable building the examples until we plan to include the Moco libraries. |
ok, give it a try when you have a chance, both 3.7, 3.8, 3.9 pkgs for llinux are now on the opensim_admin channel. |
That worked! The exectuable appears and works as expected when I activate the conda environment it is in. |
@aymanhab As @nickbianco said, the error:
Normally appears when the docker container is out of memory. Another way of bypassing it is by decreasing the number of jobs in the script. |
Thanks @AlbertoCasasOrtiz I already did that and eliminated unnecessary build options and got a package posted on dockerhub with python 3.7, 3.8, 3.9. I posted on opensim_admin channel to get some testing before posting to opensim-org channel. If you can test the notebooks you have or the opencap-core side then we can upload to the public package with some confidence. |
Perfect, I am going to test the notebooks with the opensim_admin channel. I'll let you know once I have tested them. |
@aymanhab It is still downloading the package for Python 3.8, so it is crashing when trying to import opensim. However, it works if you install it specifying the python version:
|
@aymanhab: need to update Mac builds. |
@aymanhab have the Mac builds been updated? |
Not yet, the build keeps failing for various random reasons, trying again today |
Platform: Ubuntu 22.04 (through Windows Subsystem for Linux)
Python version: 3.9
Numpy: 1.20.2
I installed the conda package into my conda environment, and while
import opensim
loads fine inside a Python interpreter, theopensim-cmd
command line tool is notfound. I searched the Anaconda directories and found the OpenSim headers, include files, and Python modules but noopensim-cmd
executable or any\bin
folder associated with the OpenSim package.The text was updated successfully, but these errors were encountered: