mtag icon indicating copy to clipboard operation
mtag copied to clipboard

Installation error

Open WDHill opened this issue 6 years ago • 5 comments

I’m trying to install the latest version of MTAG at https://github.com/omeed-maghzian/mtag

I’ve ran git clone https://github.com/omeed-maghzian/mtag.git cd mtag

and this seems to work fine. However when I use ./mtag.py -h

Rather than the list of commands I get a message reading no module named joblib. I see that joblib is the name of one of the packages that MTAG is dependent upon and that it can be found, along with the other dependencies, on the Anaconda python distribution. However the link on your github (In the getting started section) doesn’t seem to be working. Could you say if there is any other way to get this package? Many thanks!

WDHill avatar Oct 26 '18 10:10 WDHill

Hi,

Thanks for raising this question. Which link did you mean? There are two steps that you might be talking about, one is the Anaconda installation, the other is to create an environment. Which version of Python have you installed? If you have Python 3, you’d need to create and activate a Python 2.7 environment. This link in the README.md provides some instructions on doing that: https://conda.io/docs/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands

Thanks, Hui

huilisabrina avatar Oct 26 '18 15:10 huilisabrina

Hi Hui,

Thanks for getting back to me. I can confirm that it is the installation that I'm having issues with. The link can be found on this page https://github.com/omeed-maghzian/mtag in the section under getting started. I'm running Python 2.7.13.

Thanks for this, Will

WDHill avatar Oct 31 '18 10:10 WDHill

Hi @WDHill ,

That link may be outdated (I didn't write the original README file so it slipped my attention). I just swapped it with another one. Hopefully this new link will take you to the right download page.

Thanks, Hui

huilisabrina avatar Oct 31 '18 20:10 huilisabrina

Hi Hui,

Many thanks for this. I've installed anaconda version 5.3 but I'm still getting the same error of "No module named joblib". I'm running MTAG version '1.0.8' and I'm calling up the version of python from the Anaconda download, so 2.7.

Thank you again for you help with this.

Best regards,

Will

WDHill avatar Nov 02 '18 10:11 WDHill

Hi Will, Trying to take a look at what the issue might be. Are you seeing this error after creating a custom conda environment that specified including joblib? Or is the question how to specify the environment to include that module after you have anaconda installed? Cheers, Raymond

rkwalters avatar Nov 15 '18 18:11 rkwalters