I'm trying run this, but, having issues with it. It fails with the below error.
Ubuntu 16.04, Python 3.5, OpenCV 3.3
(cv) ubuntu@ip-172-31-28-204:~/faceswapwork/matt-hayden$ pip install -e faceswap/
Obtaining file:///home/ubuntu/faceswapwork/matt-hayden/faceswap
Complete output from command python setup.py egg_info:
Installed /home/ubuntu/faceswapwork/matt-hayden/faceswap/.eggs/setuptools_git-1.2-py3.5.egg
running egg_info
/home/ubuntu/.virtualenvs/cv/lib/python3.5/site-packages/setuptools/dist.py:350: UserWarning: The version specified (b'v1.0.2.dev1-2-gff14bb0') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/ubuntu/faceswapwork/matt-hayden/faceswap/setup.py", line 24, in <module>
setup_requires = [ "setuptools_git >= 1.2", ]
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 973, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib/python3.5/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/home/ubuntu/.virtualenvs/cv/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 175, in finalize_options
self.egg_version = self.tagged_version()
File "/home/ubuntu/.virtualenvs/cv/lib/python3.5/site-packages/setuptools/command/egg_info.py", line 265, in tagged_version
return safe_version(version + self.vtags)
TypeError: can't concat bytes to str
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /home/ubuntu/faceswapwork/matt-hayden/faceswap
Looks like setuptools_git is giving me trouble. I'm seeing this in other packaging, too. I replaced setup.py and you should git pull inside faceswap/ and retry the installation steps.
I'm trying run this, but, having issues with it. It fails with the below error.
Ubuntu 16.04, Python 3.5, OpenCV 3.3