apex icon indicating copy to clipboard operation
apex copied to clipboard

cannot install apex

Open newyorkthink opened this issue 4 years ago • 7 comments

image

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-cy94dox7/setup.py'"'"'; file='"'"'/tmp/pip-req-build-cy94dox7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --cpp_ext --cuda_ext install --record /tmp/pip-record-_s1r_kdr/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/thinker/.local/include/python3.9/apex Check the logs for full command output.

i don't not how can solute it

newyorkthink avatar Nov 09 '21 07:11 newyorkthink

Same problem. Appears the same as this issue: #1102 However, downgrading torch as suggested there didn't help me.

lhambrid avatar Nov 19 '21 21:11 lhambrid

sudo apt-get install python3-pybind11 worked for me

Qjizhi avatar Dec 01 '21 20:12 Qjizhi

sudo apt-get install python3-pybind11 worked for me

I can't use sudo apt-get because I'm trying to install it on a server and I don't have sudo permissions

lhambrid avatar Dec 10 '21 23:12 lhambrid

I have the same question

BigTree765 avatar Dec 14 '21 16:12 BigTree765

same prob. Anyone has ideas? thanks

doem97 avatar Dec 21 '21 10:12 doem97

sudo apt-get install python3-pybind11 worked for me

I can't use sudo apt-get because I'm trying to install it on a server and I don't have sudo permissions

just dont use sudo

Qjizhi avatar Dec 23 '21 00:12 Qjizhi

Yes exactly, don't use sudo man its crap

Cucaracha18 avatar Feb 08 '22 14:02 Cucaracha18