type
status
date
slug
summary
tags
category
icon
password
import regex._regex as _regex ModuleNotFoundError: No module named 'regex._regex’
环境
windows 10 专业版 Pycharm 2024.1 Python 3.10 CUDA 11.4
import regex._regex as _regex ModuleNotFoundError: No module named 'regex._regex’
报错的原因在于我此前为了安装poscketsphinx时将我的Python从3.9升级到3.10,但是忘记了重新安装nltk和regex为cp310的版本,仍然使用了旧版cp39的版本导致错误。
解决方法
- Author:Kecilimu
- URL:https://kecilimu-notion.vercel.app//article/20240424101036
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!