Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Cannot Install on Mac with pip #574

@xavierlyu

Description

@xavierlyu

Environment

  • Operating System: MacOS Catalina
  • Python Version: Python 3.7.4
  • Python Bitness: 64
  • How did you install Catalyst: pip
  • Python packages:
gcc7==0.0.9
Logbook==1.5.3
MarkupSafe==1.1.1
numpy==1.18.2

Description of Issue

I followed the installation docs (Installing with pip) and when i got to $ pip install enigma-catalyst matplotlib. The following happens:

(catalyst-venv) ➜  Desktop pip install enigma-catalyst
Collecting enigma-catalyst
  Using cached enigma-catalyst-0.5.21.tar.gz (767 kB)
Requirement already satisfied: pip>=7.1.0 in ./catalyst-venv/lib/python3.7/site-packages (from enigma-catalyst) (20.0.2)
Collecting setuptools==38.5.1
  Using cached setuptools-38.5.1-py2.py3-none-any.whl (489 kB)
Collecting Logbook==0.12.5
  Using cached Logbook-0.12.5.tar.gz (166 kB)
    ERROR: Command errored out with exit status 1:
     command: /Users/xavierlu/Desktop/catalyst-venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fn/nl9t5pd168l0d8wpqtvynwn40000gn/T/pip-install-1byvnzwp/Logbook/setup.py'"'"'; __file__='"'"'/private/var/folders/fn/nl9t5pd168l0d8wpqtvynwn40000gn/T/pip-install-1byvnzwp/Logbook/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/fn/nl9t5pd168l0d8wpqtvynwn40000gn/T/pip-install-1byvnzwp/Logbook/pip-egg-info
         cwd: /private/var/folders/fn/nl9t5pd168l0d8wpqtvynwn40000gn/T/pip-install-1byvnzwp/Logbook/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/fn/nl9t5pd168l0d8wpqtvynwn40000gn/T/pip-install-1byvnzwp/Logbook/setup.py", line 57, in <module>
        from setuptools import setup, Extension, Feature
    ImportError: cannot import name 'Feature' from 'setuptools' (/Users/xavierlu/Desktop/catalyst-venv/lib/python3.7/site-packages/setuptools/__init__.py)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

What steps have you taken to resolve this already?

  • Upgrading setuptools
  • Installing Logbook with pip
  • Tried $ pip install -r requirements.txt but the same issue comes up
    ...

Sincerely,
Xavier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions