tensorflow2.6.0安装 another metric with the same name already exists

终端直接输入pip install tensorflow==2.6.0
但是这里有一点问题

import os
import pandas as pd
import numpy as np
import networkx as nx
import matplotlib.pyplot as plt
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers

会出现
在这里插入图片描述解决办法
pip install keras==2.6.0

你可能感兴趣的:(杂类,tensorflow,python,人工智能)