dattalab / moseq2-app

MoSeq2 Jupyter Notebook platform used to run all of the MoSeq2 tools in a GUI.
Other
29 stars 10 forks source link

moseq2 linux install appears to work but packages are not installed #261

Open burkheadjl opened 1 year ago

burkheadjl commented 1 year ago

I could not find anything about this in the open issues: as I go through the Anaconda install, everything seems to work, but upon verifying that packages are installed, the error is that the files to not exist. I checked the appropriate directory under the anaconda environment and confirmed that the expected packages (extract, pca, etc.) are not installed

Expected Behavior

when checking for example: moseq2-extract --version, the result should be

moseq2-exract, version 1.1.2

Current Behavior

(moseq2-app) copper2@anc-5rhs1v3:~/moseq2-app$ moseq2-extract --version Traceback (most recent call last): File "/home/copper2/miniconda3/envs/moseq2-app/bin/moseq2-extract", line 5, in from moseq2_extract.cli import cli File "/home/copper2/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/moseq2_extract/cli.py", line 10, in from moseq2_extract.util import command_with_config, read_yaml, recursive_find_unextracted_dirs File "/home/copper2/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/moseq2_extract/util.py", line 6, in import cv2 File "/home/copper2/miniconda3/envs/moseq2-app/lib/python3.7/site-packages/cv2/init.py", line 3, in from .cv2 import * ImportError: libSM.so.6: cannot open shared object file: No such file or directory

Possible Solution

Steps to Reproduce (for bugs)

following anaconda install tutorial EXACTLY, then attempt to verify version 1. 2. 3. 4.

Screenshots

Context

Your Environment

austin2118ace commented 4 months ago

Ran into the same issue today on WSL. The following fixed the error:

sudo apt update
sudo apt install -y libsm6 libxext6 libxrender-dev