NicoRahm / CGvsPhoto

Computer Graphics vs Real Photographic Images : A Deep-learning approach
MIT License
25 stars 14 forks source link

can't install the package #8

Closed enekuie closed 4 years ago

enekuie commented 4 years ago

i have python 3.6 ,TensorFlow 1.0.1 and other requirements installed but failed to install the package getting this error:

Collecting CGvsPhoto Using cached CGvsPhoto-0.0.3.tar.gz (26 kB) ERROR: Command errored out with exit status 1: command: 'c:\users\asus\appdata\local\programs\python\python35\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ASUS\AppData\Local\Temp\pip-install-qcvj6b85\CGvsPhoto\setup.py'"'"'; file='"'"'C:\Users\ASUS\AppData\Local\Temp\pip-install-qcvj6b85\CGvsPhoto\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\ASUS\AppData\Local\Temp\pip-pip-egg-info-4xbk9bkl' cwd: C:\Users\ASUS\AppData\Local\Temp\pip-install-qcvj6b85\CGvsPhoto\ Complete output (9 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\ASUS\AppData\Local\Temp\pip-install-qcvj6b85\CGvsPhoto\setup.py", line 11, in long_description=readme(), File "C:\Users\ASUS\AppData\Local\Temp\pip-install-qcvj6b85\CGvsPhoto\setup.py", line 6, in readme return f.read() File "c:\users\asus\appdata\local\programs\python\python35\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0]` UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 5038: character maps to

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

i tried to change the encoding of setup.py to UTF8 to slove above error so that i can install the package by myself with pip install setup.py in files' directory but got another error:

ERROR: Could not find a version that satisfies the requirement setup.py (from versions: none) ERROR: No matching distribution found for setup.py

i also tried it with two other versions of python 3.7 and python 3.8 and still failed to install the package and got the same error! could you please help me with solving this problem? thanks in advance!