Re: problems with installation

82 views
Skip to first unread message
Message has been deleted

Denisa Bogdan

unread,
Nov 9, 2020, 11:02:59 AM11/9/20
to majiq_voila
Hi,

I have recently installed MAJIQ on my Mac (OSX Catalina). I was getting some different error messages but I believe what worked was 
1. make sure you are using Python 3.7, not 3.8
2. make sure you have installed (and are compiling using) gcc9

Hope this helps.

Denisa 

vineri, 6 noiembrie 2020, 02:29:48 UTC, Diljeet Kaur a scris:

Hello, 

 

I am trying to install MAGIQ to my laptop. I have followed your instructions and made sure that I have all the requirements needed for installation. However, I keep getting the below error message when I try to install. I was wondering if you can advise me as to how I can resolve this?

 

Thank you!


 

 

 

    ERROR: Command errored out with exit status 1:

     command: /Users/kaurd2/magiq/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-install-oehtny5k/majiq/setup.py'"'"'; __file__='"'"'/private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-install-oehtny5k/majiq/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/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-pip-egg-info-1f9kqdec

         cwd: /private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-install-oehtny5k/majiq/

    Complete output (47 lines):

    WARNING: The wheel package is not available.

    WARNING: The wheel package is not available.

      ERROR: Command errored out with exit status 1:

       command: /Users/kaurd2/magiq/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-wheel-rrih_ynk/cython/setup.py'"'"'; __file__='"'"'/private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-wheel-rrih_ynk/cython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-wheel-4ny396q1

           cwd: /private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-wheel-rrih_ynk/cython/

      Complete output (7 lines):

      Unable to find pgen, not compiling formal grammar.

      usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

         or: setup.py --help [cmd1 cmd2 ...]

         or: setup.py --help-commands

         or: setup.py cmd --help

    

      error: invalid command 'bdist_wheel'

      ----------------------------------------

      ERROR: Failed building wheel for Cython

    ERROR: Failed to build one or more wheels

    Traceback (most recent call last):

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/setuptools/installer.py", line 128, in fetch_build_egg

        subprocess.check_call(cmd)

      File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call

        raise CalledProcessError(retcode, cmd)

    subprocess.CalledProcessError: Command '['/Users/kaurd2/magiq/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/tmpew0v93te', '--quiet', 'Cython==0.29.14']' returned non-zero exit status 1.

    

    During handling of the above exception, another exception occurred:

    

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/private/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/pip-install-oehtny5k/majiq/setup.py", line 162, in <module>

        setup(

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/setuptools/__init__.py", line 143, in setup

        _install_setup_requires(attrs)

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/setuptools/__init__.py", line 138, in _install_setup_requires

        dist.fetch_build_eggs(dist.setup_requires)

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/setuptools/dist.py", line 695, in fetch_build_eggs

        resolved_dists = pkg_resources.working_set.resolve(

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/pkg_resources/__init__.py", line 781, in resolve

        dist = best[req.key] = env.best_match(

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1066, in best_match

        return self.obtain(req, installer)

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1078, in obtain

        return installer(requirement)

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/setuptools/dist.py", line 754, in fetch_build_egg

        return fetch_build_egg(self, req)

      File "/Users/kaurd2/magiq/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg

        raise DistutilsError(str(e))

    distutils.errors.DistutilsError: Command '['/Users/kaurd2/magiq/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/f4/_dz_rz3144l2clfq6lm0bp2drj9qxb/T/tmpew0v93te', '--quiet', 'Cython==0.29.14']' returned non-zero exit status 1.

    Problem was encounted during it hash extraction. Hash value disabled: No module named 'git'

    ----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

 

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages