Install Error
Hello. I have a couple of questions for you all. In setup.py I get this error.
Running command python setup.py egg_info
Traceback (most recent call last):
File "
× 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: 'C:\Users\nicor\anaconda3\envs\FKAConv\python.exe' -c '
exec(compile('"'"''"'"''"'"'
This is
- It imports setuptools before invoking setup.py, to enable projects that directly
import from
distutils.coreto 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.pyso 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 = "
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'C:\Users\nicor\anaconda3\envs\FKAConv\LightConvPoint\setup.py'"'"',), "
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
I would like to know how to resolve the error. My environment is as follows: Windows cuda=10.1 torch=1.8.1 torchvison=0.9.1 pymongo=3.12.0 sacred=0.8.2
I would like to know in what environment you implemented it, including the version. I apologies for my poor English.
Have you solved it?I guess it might be an issue with the environment version?