mennthor / awkde

Adaptive Width KDE with Gaussian Kernels
MIT License
40 stars 21 forks source link

Issue with pip install after new changes #8

Open JAMSADIQ opened 2 years ago

JAMSADIQ commented 2 years ago

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 d3dd0044b63d342f16cb64ce6d8ed0e633940fcd 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 commented 2 years ago

Could you check if the fix_setup branch works for you?

JAMSADIQ commented 2 years ago

Dear Thorben, Sorry for the late reply. Thank you for these changes and it seems to us that this fix in file working and we did not find any issue with pip install. Once you will merge this branch to master we will use that one in standard PyCBC code.

On Thu, Jun 16, 2022 at 1:40 PM Thorben Menne @.***> wrote:

Could you check if the fix_setup branch works for you?

— Reply to this email directly, view it on GitHub https://github.com/mennthor/awkde/issues/8#issuecomment-1157561145, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADR6J7MLOHIBIHWLNDVVCRTVPMHDJANCNFSM5XYDJDHQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Dr. Jam Sadiq

Postdoctoral researcher Instituto Galego de Física de Altas Enerxías http://igfae.usc.es/ Universidade de Santiago de Compostela