tensorflow在mac m1上- UnsatisfiableError

gopyfrb3  于 2023-10-23  发布在  Mac
关注(0)|答案(1)|浏览(170)

我正在尝试在m1 mac上安装tensorflow。我创造了一个新的环境,然后激活它。在那之后,我输入了下面的命令,但面临着下面提到的问题:
(mlp) sina@Sinas-Mac-Mini ~ % sudo conda install -c apple tensorflow-deps

Collecting package metadata (current_repodata.json): | DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
rg:443
/ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/osx-arm64/current_repodata.json HTTP/1.1" 304 0

Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: / 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                          

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

(mlp) sina@Sinas-Mac-Mini ~ %
ruoxqz4g

ruoxqz4g1#

我在Github上找到了一个解决方案,尽管我不确定它是如何解决这个问题的。
sudo chmod a+w .conda

相关问题