Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "python setup.py egg_info" failed with error code 1 #1

Open
palmerabollo opened this issue May 16, 2018 · 0 comments
Open

Command "python setup.py egg_info" failed with error code 1 #1

palmerabollo opened this issue May 16, 2018 · 0 comments

Comments

@palmerabollo
Copy link

Hi. I'm facing some issues installing "atomshieldscli" with pip. It fails on my laptop (macos) and also on a clean ubuntu (see log). Running it as root still fails. I've also tried pip 8.1.1 and 9.0.1 with no luck. What could be the issue?

$ docker run --rm -it ubuntu:16.04 bash

root@90428c544099:/# apt-get update

root@90428c544099:/# apt install python-pip

root@90428c544099:/#  python --version
Python 2.7.12

root@90428c544099:/# pip install atomshieldscli
Collecting atomshieldscli
  Downloading https://files.pythonhosted.org/packages/c8/1a/2b04dd3506818d0c9ad0d6910e0bbba7ab0cd1773411f3424abb251d35c6/atomshieldscli-1.10.tar.gz
Collecting atomshields (from atomshieldscli)
  Downloading https://files.pythonhosted.org/packages/91/ec/2aae33c1f2545566c803a9e2246d23ef40feeb84abea172bb27e25cc5995/atomshields-1.2.0.tar.gz
    Complete output from command python setup.py egg_info:
    Collecting ConfigParser>=3.5.0
      Downloading https://files.pythonhosted.org/packages/7c/69/c2ce7e91c89dc073eb1aa74c0621c3eefbffe8216b3f9af9d3885265c01c/configparser-3.5.0.tar.gz
    Collecting termcolor==1.1.0
      Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
    Collecting requests==2.18.2
      Downloading https://files.pythonhosted.org/packages/cf/fa/31b222e4b44975de1b5ac3e1a725abdfeb00e0d761567ab426ee28a7fc73/requests-2.18.2-py2.py3-none-any.whl (88kB)
    Collecting packaging==17.1
      Downloading https://files.pythonhosted.org/packages/ad/c2/b500ea05d5f9f361a562f089fc91f77ed3b4783e13a08a3daf82069b1224/packaging-17.1-py2.py3-none-any.whl
    Collecting certifi>=2017.4.17 (from requests==2.18.2)
      Downloading https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl (150kB)
    Collecting chardet<3.1.0,>=3.0.2 (from requests==2.18.2)
      Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    Collecting urllib3<1.23,>=1.21.1 (from requests==2.18.2)
      Downloading https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl (132kB)
    Collecting idna<2.6,>=2.5 (from requests==2.18.2)
      Downloading https://files.pythonhosted.org/packages/11/7d/9bbbd7bb35f34b0169542487d2a8859e44306bb2e6a4455d491800a5621f/idna-2.5-py2.py3-none-any.whl (55kB)
    Collecting six (from packaging==17.1)
      Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
    Collecting pyparsing>=2.0.2 (from packaging==17.1)
      Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
    Building wheels for collected packages: ConfigParser, termcolor
      Running setup.py bdist_wheel for ConfigParser: started
      Running setup.py bdist_wheel for ConfigParser: finished with status 'done'
      Stored in directory: /root/.cache/pip/wheels/a3/61/79/424ef897a2f3b14684a7de5d89e8600b460b89663e6ce9d17c
      Running setup.py bdist_wheel for termcolor: started
      Running setup.py bdist_wheel for termcolor: finished with status 'done'
      Stored in directory: /root/.cache/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
    Successfully built ConfigParser termcolor
    Installing collected packages: ConfigParser, termcolor, certifi, chardet, urllib3, idna, requests, six, pyparsing, packaging
    Successfully installed ConfigParser-3.5.0 certifi-2018.4.16 chardet-3.0.4 idna-2.5 packaging-17.1 pyparsing-2.2.0 requests-2.18.2 six-1.11.0 termcolor-1.1.0 urllib3-1.22
    You are using pip version 8.1.1, however version 10.0.1 is available.
    You should consider upgrading via the 'pip install --upgrade pip' command.
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
      warnings.warn(msg)
    running egg_info
    creating pip-egg-info/atomshields.egg-info
    writing requirements to pip-egg-info/atomshields.egg-info/requires.txt
    writing pip-egg-info/atomshields.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/atomshields.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/atomshields.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/atomshields.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'pip-egg-info/atomshields.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info/atomshields.egg-info/SOURCES.txt'
    [!] No module named base
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-3JlJHG/atomshields/setup.py", line 71, in <module>
        AtomShieldsScanner.setup()
      File "/tmp/pip-build-3JlJHG/atomshields/atomshields/scanner.py", line 196, in setup
        AtomShieldsScanner.installChecker(f)
      File "/tmp/pip-build-3JlJHG/atomshields/atomshields/scanner.py", line 237, in installChecker
        config = AtomShieldsScanner._loadConfig(AtomShieldsScanner.CONFIG_PATH)
      File "/tmp/pip-build-3JlJHG/atomshields/atomshields/scanner.py", line 396, in _loadConfig
        raise Exception('Path to config file is not setted!')
    Exception: Path to config file is not setted!

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3JlJHG/atomshields/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant