deepfakes / faceswap

Deepfakes Software For All
https://www.faceswap.dev
GNU General Public License v3.0
52.55k stars 13.24k forks source link

error when install setup.py #1400

Closed taozhiyuai closed 2 months ago

taozhiyuai commented 2 months ago

Note: For general usage questions and help, please use either our FaceSwap Forum or FaceSwap Discord server. General usage questions are liable to be closed without response.

Crash reports MUST be included when reporting bugs.

(faceswap) taozhiyu@TAOZHIYUs-MacBook-Pro faceswap % python setup.py /Users/taozhiyu/Downloads/faceswap/setup.py:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_requirements INFO Running without root/admin privileges INFO The tool provides tips for installation and installs required python packages INFO Setup in Darwin 24.1.0 INFO Installed Python: 3.10.14 64bit INFO Running in Conda INFO Running in a Virtual Environment INFO Encoding: UTF-8 INFO Installed pip: 24.2 INFO Faceswap config written to: /Users/taozhiyu/Downloads/faceswap/config/.faceswap INFO Adding conda required package 'libblas' for backend 'apple_silicon') Please ensure your System Dependencies are met Continue? [y/N] y INFO Installing Required Python Packages. This may take some time... INFO Installing Required Conda Packages. This may take some time... INFO Installing tensorflow-deps<2.11.0,>=2.10.0 INFO tensorflow-deps<2.11.0,>=2.10.0 not available in Conda. Installing with pip INFO Installing tensorflow-deps<2.11.0,>=2.10.0 WARNING Couldn't install tensorflow-deps<2.11.0,>=2.10.0 with pip. Please install this package manually ERROR Some packages failed to install. This may be a temporary error which might be fixed by re-running this script. Otherwise please install these packages manually.

Desktop (please complete the following information):

taozhiyuai commented 2 months ago
(faceswap) taozhiyu@Mac faceswap % pip show tensorflow
Name: tensorflow
Version: 2.17.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: packages@tensorflow.org
License: Apache 2.0
Location: /Users/taozhiyu/miniconda3/envs/faceswap/lib/python3.10/site-packages
Requires: absl-py, astunparse, flatbuffers, gast, google-pasta, grpcio, h5py, keras, libclang, ml-dtypes, numpy, opt-einsum, packaging, protobuf, requests, setuptools, six, tensorboard, tensorflow-io-gcs-filesystem, termcolor, typing-extensions, wrapt
Required-by: 

(faceswap) taozhiyu@Mac faceswap % conda list tensorflow-deps
# packages in environment at /Users/taozhiyu/miniconda3/envs/faceswap:
#
# Name                    Version                   Build  Channel
tensorflow-deps           2.10.0                        0    apple
conda config --add channels apple
conda install tensorflow-deps=2.10.0 

solution is ablove. can not pip install tensorflow-deps :)