Hi,
I am trying to install Macs2 on my Mac using bioconda. However I get the following error:
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- macs2 -> python[version='>=2.7,<2.8.0a0'] -> *[track_features=debug]
- python=3
Use "conda info <package>" to see the dependencies for each package.
I have both Python 2.7 and Python3 on my computer. Seems that maybe condo is seeing Python3, then refusing to install since Macs2 only works with Python 2.7. Anyone know if this is something I can fix by changing PATH to Python, or somehow making Python2.7 the default that condo sees?
Thanks,
On my linux(ubuntu 16.04) I usually change the defualt python version by adding
this line at the start of .bashrc file present in the home directory.
And if I want to use the syatem's python instead of conda, I will change the $PATH variable added by conda from
To
In .bashrc file.
You should be using python 3 now.
Thanks for replying, but modifying the bash file didn't work.
I think you need to source the .bashrc file after adding those lines or you can simply restart the session(terminal).
And one more tip just run
commamd and set the PYTHONPATH variable as mentioned hereThank you.
PYTHONPATH is no longer relevant when installing via conda