我正在按照本教程在 Windows 10 上使用 Docker 运行以太坊爬虫
执行后
$ MYSQL_DATA_PATH="$HOME/indexer-data/mysql" GETH_DATA_PATH="$HOME/indexer-data/geth"docker-compose up
Run Code Online (Sandbox Code Playgroud)
在这一行中我收到错误:
409 Client Error: Conflict for url: http+docker://localnpipe/v1.25/containers/ee2b46142bae704d4963853e22a77ba896a8f841120ecf5ac97befca91847672/attach?logs=0&stdout=1&stderr=1&stream=1
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "threading.py", line 916, in
_bootstrap_inner File "threading.py", line 864, in run File "compose\cli\log_printer.py", line 233, in watch_events File
"compose\container.py", line 215, in attach_log_stream File
"compose\container.py", line 307, in attach File
"site-packages\docker\utils\decorators.py", line 19, in wrapped File
"site-packages\docker\api\container.py", line 61, in attach File
"site-packages\docker\api\client.py", line …Run Code Online (Sandbox Code Playgroud) 我正在对我的数字数据进行探索性数据分析,我尝试运行 Pandas 分析,但在生成报告结构时出错。
import pandas as pd
from pandas_profiling import ProfileReport
df = pd.read_csv('mydatadata.csv')
print(df)
profile = ProfileReport(df)
profile.to_file(output_file="mydata.html")
Run Code Online (Sandbox Code Playgroud)
错误日志看起来像这样
总结数据集:99%|????????????????????????????????????????????? ?????????????????????????????????| 1144/1150 [46:07<24:03, 240.60s/it, 计算cramers相关性]C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas_profiling\model\correlations. py:101: UserWarning: 曾尝试计算克拉默相关性,但失败了。要隐藏此警告,请禁用计算(使用
df.profile_report(correlations={"cramers": {"calculate": False}})如果这对您的用例有问题,请将其报告为问题:https : //github.com/pandas-profiling/pandas-profiling/issues(包括错误消息:'没有数据;observed大小为 0.') warnings.warn( 汇总数据集:100%|????????????????????????????????????? ???????????????????????????????????????????????????| 1145/1150 [46:19<17:32, 210.49s/it, Get scatter matrix]位图分配失败