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

moseq2-model installation fails #37

Closed
zaloch opened this issue Mar 14, 2019 · 5 comments
Closed

moseq2-model installation fails #37

zaloch opened this issue Mar 14, 2019 · 5 comments

Comments

@zaloch
Copy link

zaloch commented Mar 14, 2019

Hi! I am trying to install moseq2-model but I am having difficulties.
Since pip >19.0 breaks the installation of moseq2-model I am using pip 18.1.
I am using moseq2 installation with Conda + Python 3.6 on Windows 10.

When I run 'pip install git+https://github.com/dattalab/moseq2-model.git --process-dependency-links'

I get:

error.txt

*I included this as a txt file as the error message is quite long to include as a screenshot.

All the other commands for the other components of moseq install and work fine. I am stuck at the model step as it is not recognized as a command as it fails to compile with the above link. Something is going wrong when building wheel for autoregressive.

Any help would be greatly appreciated.

Thank you!

@jmarkow
Copy link
Collaborator

jmarkow commented Mar 14, 2019

So I don't have a Windows machine to test this on myself, and I haven't installed moseq2-model on a Windows machine. My guess is you'll need to use something like this,

https://github.com/GeoscienceAustralia/tcrm/wiki/Compiling-the-C-extensions-in-MinGW-on-Windows-platforms-with-Anaconda

and adapt for the appropriate python version (3.6). If I can get my hands on a machine running Windows 10 I'll see if I can work out the right steps.

@jmarkow
Copy link
Collaborator

jmarkow commented Mar 14, 2019

@jmarkow jmarkow transferred this issue from dattalab/moseq2-docs Mar 14, 2019
@jmarkow
Copy link
Collaborator

jmarkow commented Mar 14, 2019

OK, just got my hands on a Windows 10 laptop. This looks like a good option,

https://www.microsoft.com/en-us/p/debian/9msvkqc78pk6?activetab=pivot:overviewtab

I'll detail the steps here when I have them worked out.

@jmarkow
Copy link
Collaborator

jmarkow commented Mar 14, 2019

OK, once you have the WSL Debian app installed, open up the app, which should drop you in a bash terminal. Then, run,

sudo apt-get install build-essential curl libxrender-dev libsm6 libglib2.0-0

You should be able to follow the Linux installation instructions after that. Note that I had to upgrade numpy for everything to work,

pip install --upgrade pip
pip install git+https://github.com/dattalab/moseq2-extract.git
pip install git+https://github.com/dattalab/moseq2-pca.git
pip install git+https://github.com/dattalab/moseq2-model.git 
pip install git+https://github.com/dattalab/moseq2-batch.git
pip install git+https://github.com/dattalab/moseq2-viz.git
pip install --upgrade numpy

@zaloch
Copy link
Author

zaloch commented Mar 18, 2019

Thank you! this worked perfectly.

*I didn't have access to the windows store. But, I was able to install Debian with these instructions:

https://docs.microsoft.com/en-us/windows/wsl/install-on-server

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

2 participants