Post on: Apr 24, 2024Last edited: Jul 4, 2024Words 00 min

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的版本导致错误。

解决方法

 

  • Twikoo
关于老面的回忆

🌸关于老面的回忆

这是一段很久之前的回忆了。


ERROR: Could not build wheels for pocketsphinx, which is required to install pyproject.toml-based projects

ERROR: Could not build wheels for pocketsphinx, which is required to install pyproject.toml-based projects

Python包pocketsphinx的问题


Announcement
🎉欢迎来到我的博客🎉
👏欢迎更新体验👏