MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
147 stars 66 forks source link

installation script bin/conda_setup_mtpy_win.bat not working #23

Closed zhang01GA closed 6 years ago

zhang01GA commented 6 years ago

double click, the default mtpy env was created somewhere we cannot see.

run in cmd window, it create in current working dir but still cannot see $ conda info --env

conda environments:

# bayesml C:\Anaconda2\envs\bayesml myenv C:\Anaconda2\envs\myenv root * C:\Anaconda2

please provide a step-by-step guide as how to use the bat script

then start the MTgui use the new env ?

YingzhiGou commented 6 years ago

strange, do you have multiple conda installed?

in theory, when the default environment is created, you should be able to start the gui using bin\start_gui.bat

i will test it again on windows 10

YingzhiGou commented 6 years ago

there is a typo in the script, and it is fixed now, could you test?

zhang01GA commented 6 years ago

I will ask Sudhir to re-test it @sudhirJain

sudhirJain commented 6 years ago

I have tested conda_setup_mtpy_win.bat. mtpy has been installed in virtual environment. Following are the results. C:\dev\venv\satellite\mtpy\bin>conda info --envs

conda environments:

# Seismic_Phases C:\dev\miniconda2\envs\Seismic_Phases mtpy C:\dev\miniconda2\envs\mtpy testsat C:\dev\miniconda2\envs\testsat root * C:\dev\miniconda2

C:\dev\venv\satellite\mtpy\bin>conda info --envs

conda environments:

# Seismic_Phases C:\dev\miniconda2\envs\Seismic_Phases mtpy C:\dev\miniconda2\envs\mtpy testsat C:\dev\miniconda2\envs\testsat root * C:\dev\miniconda2

** activating mtpy virtual enviornment

C:\dev\venv\satellite\mtpy\bin>activate mtpy

** Starting GUI

(mtpy) C:\dev\venv\satellite\mtpy\bin>start gui The system cannot find the file gui.

(mtpy) C:\dev\venv\satellite\mtpy\bin>start_gui.bat calling activate mtpy