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

Windows file for conda environment #2

Open
deepanshi-s opened this issue Jun 6, 2020 · 1 comment
Open

Windows file for conda environment #2

deepanshi-s opened this issue Jun 6, 2020 · 1 comment

Comments

@deepanshi-s
Copy link

I am trying to run this code on my system with windows. Can you please provide the windows file to create a condo virtual environment?

@evanseitz
Copy link
Owner

evanseitz commented Jun 6, 2020

Hi @deepanshi-s - I unfortunately do not have a tested environment for Windows.

I don't think you actually need the entire library (Mayavi is only used for a single script made to visualize the S2 distribution). If that's the case, you'll only need to install: numpy, pylab, matplotlib, mrcfile, csv, itertools (the readme also explains how to install the non-anaconda packages)

However, to get the Mayavi framework running, you should be able to get the packages required via the following:

Create environment:
conda create --no-default-packages -n YourEnvName python=2.7
Open environment first before installing packages inside:
conda activate YourEnvName
Install packages into environment:

conda install -c anaconda vtk=6.3.0
conda install -c anaconda mayavi=4.5.0
conda install -c conda-forge matplotlib
conda install -c anaconda scipy
conda install -c conda-forge mrcfile
conda install -c anaconda scikit-learn
conda install h5py
conda install -c satra vtk
conda install -c conda-forge opencv
conda install -c anaconda numpy

I've had issues with these libraries in the past though, so can't guarantee this last recipe will work.

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