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
YOLOX is not installing #1585
Comments
× Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip.` |
What if you execute |
It is installing successfully. |
So, finally it worked with python3.8. Above error occured with python3.10. |
@azimjonn Thanks for your advice! I will check py3.10 and see what's behind the installing error. |
Python 3.10 has a lot of issues installing. The requirements.txt file also has some problems. Here is mine:
|
@FateScript Is there any news on this ? so I cannot currently use I launch it and I get this error:
|
@fedyhajali You are using a old version whl, try clone YOLOX and install it with BTW, If you are using python under 3.10, |
So I have the same problem as all above. Here are the issues and versions I tried until was success in install:
|
On Mac OS 13.4.1(c) Apple M1 Max. python 3.11 pip install onnx works fine git clone https://github.com/Megvii-BaseDetection/YOLOX.git try: file = %r if os.path.exists(file): exec(compile(setup_py_code, filename, "exec")) × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. Can you advise? I will try downgrading python if you think that is the issue. thank you. |
I gave up on yolox. Not sure about your application. Had some separate issues and everything tied back to needing python3.8. I’ve seen that issue on some different issue boards as well.
… On Jul 14, 2023, at 11:12 AM, Duane Edgington ***@***.***> wrote:
On Mac OS 13.4.1(c) Apple M1 Max. python 3.11
pip install --no-cache "yolox==0.3.0" fails
pip install yolox==0.3.0 fails
pip install yolox fails. Using cached yolox-0.2.0.tar.gz (65 kB) ...FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
pip install onnx works fine
git clone https://github.com/Megvii-BaseDetection/YOLOX.git
pip install --upgrade pip setuptools
pip3 install -v -e .
fails
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"))
'"'"''"'"''"'"' % ('"'"'/private/var/folders/2v/b7nh79c55fvbjw_k_p7s1rnw000096/T/pip-install-wib6clg7/onnx-simplifier_f8f536eea74d46fb9bd8c2591a57cac6/setup.py'"'"',), "", "exec"))' egg_info --egg-base /private/var/folders/2v/b7nh79c55fvbjw_k_p7s1rnw000096/T/pip-pip-egg-info-yvtw047b
cwd: /private/var/folders/2v/b7nh79c55fvbjw_k_p7s1rnw000096/T/pip-install-wib6clg7/onnx-simplifier_f8f536eea74d46fb9bd8c2591a57cac6/
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.
Can you advise? I will try downgrading python if you think that is the issue. thank you.
—
Reply to this email directly, view it on GitHub <#1585 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB26JK2B3CDH4PAANDZTB73XQGDXHANCNFSM6AAAAAATO5AQOQ>.
You are receiving this because you commented.
|
yolox install failure.txt Still fails after pip3 install -v -e . |
@duane-edgington Install torch in you env before running the command 'pip3 install -v -e . ". |
python3.8 is also not working |
To install yolox I did these two:
Then
pip3 install -v -e .
is not working. Here is the log of this command.The text was updated successfully, but these errors were encountered: