小编Far*_*neh的帖子

innodb_system 数据文件“ibdata1”必须可写 - 用户 root@localhost' 的访问被拒绝

我正在尝试在我的笔记本电脑上第二次设置 mySQL。几个月前,我之前安装并运行了 mysql-installer-web-community-8.0.22.0,没有任何问题。最近我卸载了该版本并安装了较新的版本 mysql-installer-web-community-8.0.23.0。我在安装过程中没有收到任何错误,但是当我想使用 MySQL Workbench 时,我收到错误“未建立连接”。我已经修复了服务,以便 mySQL 正在运行。但我收到无法连接到本地主机的错误消息。我已尝试以下命令,但收到以下错误消息。

C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql -u root -p
Enter password: ****
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Run Code Online (Sandbox Code Playgroud)
C:\Program Files\MySQL\MySQL Server 8.0\bin>mysqld --console
2021-03-23T12:38:52.603298Z 0 [System] [MY-010116] [Server] C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.23) starting as process 8452
2021-03-23T12:38:52.661405Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-03-23T12:38:52.666405Z 1 [ERROR] [MY-012271] [InnoDB] The innodb_system data file 'ibdata1' must be writable
2021-03-23T12:38:52.668889Z 1 [ERROR] [MY-012278] [InnoDB] The innodb_system data …
Run Code Online (Sandbox Code Playgroud)

mysql windows

6
推荐指数
1
解决办法
9907
查看次数

ImportError: 无法从 'umap' 导入名称 'UMAP' (c:\users\user\anaconda3\lib\site-packages\umap\__init__.py)

我已经遵循了这篇文章中的提示。

问题是我运行这行代码时出现错误:

from bertopic import BERTopic

关于如何解决该问题有什么建议吗?

python-3.x

5
推荐指数
1
解决办法
1万
查看次数

AttributeError:类型对象“PrecisionRecallDisplay”没有属性“from_estimator”

这是我的导入行:

from sklearn.metrics import PrecisionRecallDisplay
Run Code Online (Sandbox Code Playgroud)

当我打字时

PrecisionRecallDisplay
Run Code Online (Sandbox Code Playgroud)

我明白了

sklearn.metrics._plot.precision_recall_curve.PrecisionRecallDisplay
Run Code Online (Sandbox Code Playgroud)

插入的

sklearn.metrics.PrecisionRecallDisplay
Run Code Online (Sandbox Code Playgroud)

我正在尝试运行以下代码行:

display = PrecisionRecallDisplay.from_estimator(lr_clf, x_test, y_test, name = "Logistic Regression")
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

AttributeError: type object 'PrecisionRecallDisplay' has no attribute 'from_estimator'
Run Code Online (Sandbox Code Playgroud)

我正在使用最新版本的sklearn。('0.24.2')

python-3.x scikit-learn

5
推荐指数
1
解决办法
5294
查看次数

标签 统计

python-3.x ×2

mysql ×1

scikit-learn ×1

windows ×1