You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use the command "export BLAS_INCLUDE_DIRS=/opt/conda/include
export BLAS=openblas
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps", and it raise error:
正在检出文件: 100% (244/244)
正在检出文件: 100% (244/244), 完成.
Running command git rev-parse HEAD
02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
Resolved https://github.com/NVIDIA/MinkowskiEngine to commit 02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
Running command git rev-parse HEAD
02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
Running command python setup.py egg_info
WARNING: Skipping MinkowskiEngine as it is not installed.
| CUDA compilation set |
Using BLAS=openblas
Using the default compiler
running egg_info
creating /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info
writing /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/SOURCES.txt'
/tmp/pip-req-build-3j8mfve8/setup.py:201: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.system_info as sysinfo
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-3j8mfve8/setup.py", line 320, in
setup(
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 299, in run
self.find_sources()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
mm.run()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 541, in run
self.add_defaults()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
sdist.add_defaults(self)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/command/sdist.py", line 226, in add_defaults
self._add_defaults_python()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/sdist.py", line 111, in _add_defaults_python
build_py = self.get_finalized_command('build_py')
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/cmd.py", line 299, in get_finalized_command
cmd_obj.ensure_finalized()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/build_py.py", line 29, in finalize_options
orig.build_py.finalize_options(self)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/command/build_py.py", line 43, in finalize_options
self.set_undefined_options('build',
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/cmd.py", line 286, in set_undefined_options
src_cmd_obj = self.distribution.get_command_obj(src_cmd)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/dist.py", line 857, in get_command_obj
klass = self.get_command_class(command)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/dist.py", line 890, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/pkg_resources/init.py", line 2465, in load
return self.resolve()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/pkg_resources/init.py", line 2471, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
ModuleNotFoundError: No module named 'setuptools.command.build'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/user/anaconda3/envs/EmbdSAM/bin/python -c '
exec(compile('"'"''"'"''"'"'
This is -- a caller that pip uses to run setup.py
- It imports setuptools before invoking setup.py, to enable projects that directly
import from distutils.core to work with newer packaging standards.
- It provides a clear error message when setuptools is not installed.
- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so
setuptools doesn'"'"'t think the script is -c. This avoids the following warning:
manifest_maker: standard file '"'"'-c'"'"' not found".
- It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute setup.py since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
file = %r
sys.argv[0] = file
if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
when I use the command "export BLAS_INCLUDE_DIRS=/opt/conda/include
export BLAS=openblas
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps", and it raise error:
Using pip 24.2 from /home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/pip (python 3.8)
Collecting git+https://github.com/NVIDIA/MinkowskiEngine
Cloning https://github.com/NVIDIA/MinkowskiEngine to /tmp/pip-req-build-3j8mfve8
Running command git version
git version 2.17.1
Running command git clone --filter=blob:none https://github.com/NVIDIA/MinkowskiEngine /tmp/pip-req-build-3j8mfve8
正克隆到 '/tmp/pip-req-build-3j8mfve8'...
正在检出文件: 100% (244/244)
正在检出文件: 100% (244/244), 完成.
Running command git rev-parse HEAD
02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
Resolved https://github.com/NVIDIA/MinkowskiEngine to commit 02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
Running command git rev-parse HEAD
02fc608bea4c0549b0a7b00ca1bf15dee4a0b228
Running command python setup.py egg_info
WARNING: Skipping MinkowskiEngine as it is not installed.
| CUDA compilation set |
Using BLAS=openblas
Using the default compiler
running egg_info
creating /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info
writing /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-0gkexip4/MinkowskiEngine.egg-info/SOURCES.txt'
/tmp/pip-req-build-3j8mfve8/setup.py:201: DeprecationWarning:
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-req-build-3j8mfve8/setup.py", line 320, in
setup(
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 299, in run
self.find_sources()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
mm.run()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 541, in run
self.add_defaults()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
sdist.add_defaults(self)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/command/sdist.py", line 226, in add_defaults
self._add_defaults_python()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/sdist.py", line 111, in _add_defaults_python
build_py = self.get_finalized_command('build_py')
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/cmd.py", line 299, in get_finalized_command
cmd_obj.ensure_finalized()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/command/build_py.py", line 29, in finalize_options
orig.build_py.finalize_options(self)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/command/build_py.py", line 43, in finalize_options
self.set_undefined_options('build',
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/cmd.py", line 286, in set_undefined_options
src_cmd_obj = self.distribution.get_command_obj(src_cmd)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/distutils/dist.py", line 857, in get_command_obj
klass = self.get_command_class(command)
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/setuptools/dist.py", line 890, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/pkg_resources/init.py", line 2465, in load
return self.resolve()
File "/home/user/anaconda3/envs/EmbdSAM/lib/python3.8/site-packages/pkg_resources/init.py", line 2471, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
ModuleNotFoundError: No module named 'setuptools.command.build'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/user/anaconda3/envs/EmbdSAM/bin/python -c '
exec(compile('"'"''"'"''"'"'
This is -- a caller that pip uses to run setup.py
- It imports setuptools before invoking setup.py, to enable projects that directly
import from
distutils.core
to work with newer packaging standards.- It provides a clear error message when setuptools is not installed.
- It sets
sys.argv[0]
to the underlyingsetup.py
, when invokingsetup.py
sosetuptools doesn'"'"'t think the script is
-c
. This avoids the following warning:manifest_maker: standard file '"'"'-c'"'"' not found".
- It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute
setup.py
since setuptools is not available in ""the build environment.",
file=sys.stderr,
)
sys.exit(1)
file = %r
sys.argv[0] = file
if os.path.exists(file):
filename = file
with tokenize.open(file) as f:
setup_py_code = f.read()
else:
filename = ""
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-3j8mfve8/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-0gkexip4
cwd: /tmp/pip-req-build-3j8mfve8/
Preparing metadata (setup.py) ... error
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.
The text was updated successfully, but these errors were encountered: