问题描述
我在运行python项目时遇到以下错误:
data "aws_route53_zone" "selected" {
name = "test.com."
private_zone = false
}
resource "aws_route53_record" "www" {
zone_id = data.aws_route53_zone.selected.zone_id
name = "dev.${data.aws_route53_zone.selected.name}"
type = "A"
alias {
name = var.alb_dns
zone_id = var.zone_id
evaluate_target_health = false
}
}
要解决此错误,我打开了命令提示符并运行“ python setup.py build_ext --inplace --force” 输出为:
runfile('C:/Users/vijee/PycharmProjects/Titanic Survival/TitanicML.py',wdir='C:/Users/vijee/PycharmProjects/Titanic Survival')
Traceback (most recent call last):
File "C:\Users\vijee\AppData\Roaming\Python\python38\site-packages\pandas\__init__.py",line 30,in <module>
from pandas._libs import hashtable as _hashtable,lib as _lib,tslib as _tslib
File "C:\Users\vijee\AppData\Roaming\Python\python38\site-packages\pandas\_libs\__init__.py",line 13,in <module>
from pandas._libs.interval import Interval
ModuleNotFoundError: No module named 'pandas._libs.interval'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\vijee\PycharmProjects\Titanic Survival\TitanicML.py",line 5,in <module>
import pandas as pd
File "C:\Users\vijee\AppData\Roaming\Python\python38\site-packages\pandas\__init__.py",line 34,in <module>
raise ImportError(
ImportError: C extension: No module named 'pandas._libs.interval' not built. If you want to import pandas from the source directory,you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
我很困惑。我该如何解决?我已经尝试了网上提供的大多数答案。似乎无法解决。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)