My name is Alfie Gatehouse a PhD student of Joshua Edel and Alex Ivanov at Imperial College, London.
I am trying to install MOSAIC from source to my Mac, running OS Catalina. However, I keep getting the following error.:
(base) Alfie-Gatehouse-Mac:MOSAIC alfiegatehouse$ pip install mosaic-nist
Collecting mosaic-nist
Using cached mosaic-nist-1.3.5.tar.gz (7.0 MB)
ERROR: Command errored out with exit status 1:
command: /opt/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/setup.py'"'"';
__file__='"'"'/private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__,
'"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-pip-egg-info-rt1frtoj
cwd: /private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/
Complete output (12 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/setup.py", line 2, in <module>
import mosaic
File "/private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/mosaic/__init__.py", line 1, in <module>
from ._version import __version__
File "/private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/mosaic/_version.py", line 2, in <module>
from mosaic.utilities.resource_path import resource_path
File "/private/var/folders/gj/4v_4z1b13gvcl54_zmxy14fm0000gn/T/pip-install-1qwt1bn5/mosaic-nist/mosaic/utilities/resource_path.py", line 83
print resource_path('.settings')
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Any help would be much appreciated.