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

Issue with pip install after new changes #8

Open
JAMSADIQ opened this issue Jun 3, 2022 · 2 comments
Open

Issue with pip install after new changes #8

JAMSADIQ opened this issue Jun 3, 2022 · 2 comments

Comments

@JAMSADIQ
Copy link

JAMSADIQ commented Jun 3, 2022

Hi,
I was trying to install awKDE with new updates following instructions but I am getting this error.
pip install git+https://github.com/mennthor/awkde.git@master
Collecting git+https://github.com/mennthor/awkde.git@master
Cloning https://github.com/mennthor/awkde.git (to revision master) to /tmp/pip-req-build-qkqacjs1
Running command git clone --filter=blob:none --quiet https://github.com/mennthor/awkde.git /tmp/pip-req-build-qkqacjs1
Resolved https://github.com/mennthor/awkde.git to commit d3dd004
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [43 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-iuq_5ils/awkde.egg-info
writing /tmp/pip-pip-egg-info-iuq_5ils/awkde.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-iuq_5ils/awkde.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-iuq_5ils/awkde.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-iuq_5ils/awkde.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-iuq_5ils/awkde.egg-info/SOURCES.txt'
/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-qkqacjs1/setup.py", line 34, in
setup(
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 308, in run
self.find_sources()
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 315, in find_sources
mm.run()
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 550, in run
self.add_defaults()
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 587, in add_defaults
sdist.add_defaults(self)
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 228, in add_defaults
self._add_defaults_ext()
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 311, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 298, in get_finalized_command
cmd_obj = self.distribution.get_command_obj(command, create)
File "/home/ahnitz/projects/env/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 859, in get_command_obj
cmd_obj = self.command_obj[command] = klass(self)
TypeError: 'NoneType' object is not callable
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@mennthor
Copy link
Owner

Could you check if the fix_setup branch works for you?

@JAMSADIQ
Copy link
Author

JAMSADIQ commented Jun 17, 2022 via email

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

2 participants