Skip to content
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

I'm a getting a installation error. #25

Open
JibinKoshy07 opened this issue Jun 1, 2021 · 6 comments
Open

I'm a getting a installation error. #25

JibinKoshy07 opened this issue Jun 1, 2021 · 6 comments

Comments

@JibinKoshy07
Copy link

$ pip install --upgrade nudepy

ERROR: Command errored out with exit status 1:
  command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lbjhc6pt/nudepy_3b195ab8384e42f987f0811934cf8ca8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lbjhc6pt/nudepy_3b195ab8384e42f987f0811934cf8ca8/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-psp1didq                                        
      cwd: /tmp/pip-install-lbjhc6pt/nudepy_3b195ab8384e42f987f0811934cf8ca8/         
 Complete output (9 lines):                                                           
 running bdist_wheel                                                                  
 running build                                                                        
 running build_py                                                                     
 creating build                                                                       
 creating build/lib.linux-x86_64-3.9                                                  
 copying nude.py -> build/lib.linux-x86_64-3.9                                        
 running build_ext                                                                    
 cythoning skin_classifier.pyx to skin_classifier.c                                   
 error: /tmp/pip-install-lbjhc6pt/nudepy_3b195ab8384e42f987f0811934cf8ca8/skin_classifier.pyx                                                                                
 ----------------------------------------                                             
 ERROR: Failed building wheel for nudepy

@mouhib333
Copy link

Yeah same here

@Sadew451
Copy link

yes

@evstratios
Copy link

me too - how do we fix it - I'm trying to install into a virtual environment

@meassinal
Copy link

meassinal commented Jan 23, 2022

Hi,
I'm also facing the same problem. I've tried several time and did not have luck.

I tried to install on macOS Catalina and got the following errors:

ERROR: Command errored out with exit status 1: command: /Users/meassinal/.virtualenvs/py39cv45/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-install-iejdf_59/nudepy_af8b11b777aa489cbb0acd6187a54671/setup.py'"'"'; __file__='"'"'/private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-install-iejdf_59/nudepy_af8b11b777aa489cbb0acd6187a54671/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-record-_gl7hcnh/install-record.txt --single-version-externally-managed --compile --install-headers /Users/meassinal/.virtualenvs/py39cv45/include/site/python3.9/nudepy cwd: /private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-install-iejdf_59/nudepy_af8b11b777aa489cbb0acd6187a54671/ Complete output (10 lines): running install /Users/meassinal/.virtualenvs/py39cv45/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.macosx-10.15-x86_64-3.9 copying nude.py -> build/lib.macosx-10.15-x86_64-3.9 running build_ext error: /private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-install-iejdf_59/nudepy_af8b11b777aa489cbb0acd6187a54671/skin_classifier.pyx

ERROR: Command errored out with exit status 1: /Users/meassinal/.virtualenvs/py39cv45/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-install-iejdf_59/nudepy_af8b11b777aa489cbb0acd6187a54671/setup.py'"'"'; __file__='"'"'/private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-install-iejdf_59/nudepy_af8b11b777aa489cbb0acd6187a54671/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cp/sss0666n22l_cj9_8b196rk40000gn/T/pip-record-_gl7hcnh/install-record.txt --single-version-externally-managed --compile --install-headers /Users/meassinal/.virtualenvs/py39cv45/include/site/python3.9/nudepy Check the logs for full command output.

I really appreciate the help from here. Thanks in advance.

@WakandaWebWeaver
Copy link

Requesting the author to answer...

@cyber-chuvash
Copy link

Downgrading from Python 3.11 to 3.7.16 helped in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants