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

ImportError: No module named ldsc_mod.ldscore #192

Open
badenough-bot opened this issue Oct 29, 2023 · 0 comments
Open

ImportError: No module named ldsc_mod.ldscore #192

badenough-bot opened this issue Oct 29, 2023 · 0 comments

Comments

@badenough-bot
Copy link

Hello,
When I'm trying to follow the Tutorial 1: The Basics, an error come out "ImportError: No module named ldsc_mod.ldscore"

The following is the entire Traceback:
(py27) D:\MR repeat\MTAG\mtag-master>python "/MR repeat/MTAG/mtag-master/mtag.py"
Traceback (most recent call last):
File "/MR repeat/MTAG/mtag-master/mtag.py", line 19, in
from ldsc_mod.ldscore import sumstats as sumstats_sig
ImportError: No module named ldsc_mod.ldscore

This is my code:
python “/MR repeat/MTAG/mtag-master/mtag.py”
--sumstats “/MR repeat/MTAG/mtag-master/AF-ukb-b-11550.txt", “/MR repeat/MTAG/mtag-master/BCC-GCST90041916.txt"
--out “/MR repeat/MTAG/mtag-master/MTAG result/"/mtag_result
--n_min 0.0
--stream_stdout &

before the Tutorial 1: The Basics, I have activated the py27 and installed all the packages needed:
(py27) D:\MR repeat\MTAG\mtag-master>conda list

packages in environment at C:\Users\Lenovo.conda\envs\py27:

Name Version Build Channel

argparse 1.4.0 pypi_0 pypi
bitarray 1.2.0 py27h0c8e037_0 defaults
blas 1.0 mkl defaults
certifi 2020.6.20 pyhd3eb1b0_3 defaults
icc_rt 2022.1.0 h6049295_2 defaults
intel-openmp 2022.0.0 haa95532_3663 defaults
joblib 0.14.1 py_0 defaults
mkl 2020.2 256 defaults
mkl-service 2.3.0 py27h0b88c2a_0 defaults
mkl_fft 1.0.15 py27h44c1dab_0 defaults
numpy 1.16.6 py27hcd21bde_0 defaults
numpy-base 1.16.6 py27hb1d0314_0 defaults
pandas 0.24.2 py27hc56fc5f_0 defaults
pip 19.3.1 py27_0 defaults
python 2.7.15 h2880e7c_4 defaults
python-dateutil 2.8.2 pyhd3eb1b0_0 defaults
pytz 2021.3 pyhd3eb1b0_0 defaults
scipy 1.2.1 py27h4c3ab11_0 defaults
setuptools 44.0.0 py27_0 defaults
six 1.16.0 pyhd3eb1b0_1 defaults
vc 9 h2eaa2aa_6 defaults
vs2008_runtime 9.00.30729.1 haa95532_6 defaults
wheel 0.37.1 pyhd3eb1b0_0 defaults
wincertstore 0.2 py27hf04cefb_0 defaults

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

1 participant