MACS2 not installing
1
0
Entering edit mode
@cdc5d67f
Last seen 6 months ago
Germany

Hi, I was trying to install MACS2 in RStudio but I keep on running into some issues. This is the code I was using:

 BiocManager::install("Herper")
    library(Herper)
    install_CondaTools(tools="macs2", env="PeakCalling_analysis", pathToMiniConda=myMiniconda, updateEnv = TRUE)
  • Using Miniconda at: C:/Users/User/miniconda3 Traceback (most recent call last): File "C:\Users\User\MINICO~1\Lib\site-packages\conda\exception_handler.py", line 17, in __call__ return func(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\User\MINICO~1\Lib\site-packages\conda\cli\main.py", line 36,
    
    in main_subshell from ..base.context import context File "C:\Users\User\MINICO~1\Lib\site-packages\conda\base\context.py", line 33, in <module> from ..common._os.linux import linux_get_libc_version File "C:\Users\User\MINICO~1\Lib\site-packages\conda\common_os__init__.py", line 8, in <module> from .windows import get_free_space_on_windows as get_free_space File "C:\Users\User\MINICO~1\Lib\site-packages\conda\common_os\windows.py", line 11, in <module> from ctypes import ( File "C:\Users\User\MINICO~1\Lib\ctypes__init__.py", line 8, in <module> from _ctypes import Union, Structure, Array ImportError: DLL load failed while importing _ctypes: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\User\MINICO~1\Scripts\conda-script.py", line 12, in <module> sys.exit(main()) ^^^^^^ File "C:\Users\User\MINICO~1\Lib\site-packages\conda\cli\main.py", line 109, in main return conda_exception_handler(main, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\MINICO~1\Lib\site-packages\conda\exception_handler.py", line 389, in conda_exception_handler return_value = exception_handler(func, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\MINICO~1\Lib\site-packages\conda\exception_handler.py", line 20, in __call__ return self.handle_exception(exc_val, exc_tb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\MINICO~1\Lib\site-packages\conda\exception_handler.py", line 52, in handle_exception from .exceptions import ( File "C:\Users\User\MINICO~1\Lib\site-packages\conda\exceptions.py", line 31, in <module> from .models.channel import Channel File "C:\Users\User\MINICO~1\Lib\site-packages\conda\models\channel.py", line 25, in <module> from ..base.context import Context, context File "C:\Users\User\MINICO~1\Lib\site-packages\conda\base\context.py", line 33, in <module> from ..common._os.linux import linux_get_libc_version File "C:\Users\User\MINICO~1\Lib\site-packages\conda\common_os__init__.py", line 8, in <module> from .windows import get_free_space_on_windows as get_free_space File "C:\Users\User\MINICO~1\Lib\site-packages\conda\common_os\windows.py", line 11, in <module> from ctypes import ( File "C:\Users\User\MINICO~1\Lib\ctypes__init__.py", line 8, in <module> from _ctypes import Union, Structure, Array ImportError: DLL load failed while importing _ctypes: The specified module could not be found. Error: one or more Python packages failed to install [error code 1]

R is also up to date: version.string R version 4.3.1 (2023-06-16 ucrt) I also tried running the same in Miniconda3 directly but I can also not install MACS2 here. Finally, I also tried downloading the zipped file but even than I cannot install ist. I would be very grateful for any help!

Cheers

Bioconductor • 911 views
ADD COMMENT
0
Entering edit mode
ATpoint ★ 4.0k
@atpoint-13662
Last seen 20 hours ago
Germany

macs2 is not available for Windows via conda. Your options are to use WSL2 to run a native Linux distro on your Windows or to use something like Docker. Bioinformatics on pure Windows won't get you far. WSL2 strongly recommended.

ADD COMMENT
0
Entering edit mode

I see. Thank you very much!

ADD REPLY

Login before adding your answer.

Traffic: 590 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6