你可以通过修改环境变量或直接在包含 maturin 的目录下运行命令来解决这个问题。 验证maturin模块是否可以在Python环境中正确导入: 需要注意的是,maturin 本身不是一个 Python 模块,而是一个独立的可执行程序,因此你不能像导入 Python 模块那样在 Python 脚本中 import maturin。相反,你应该在命令行中直接调用它。 ...
$ maturin develop $ python -c"from supermodule.submodule import subfunction"ModuleNotFoundError: No module named'supermodule.submodule';'supermodule'is not a package waymost, kernc, jonhue, shuternay, codeandfire, hyskylord, trueb2, nalzok, mcmasn-amzn, schneiderfelipe, and 3 more reacted...
ModuleNotFoundError: No module named 'pip._internal.download' @afabianican you provide a full traceback and instructions on how to reproduce, please? In a new issue, as this seems like it's unrelated to the subject of this issue.
[tool.poetry.dev-dependencies] PyHive = "^0.6.4" clickhouse-driver = "^0.2.1" contexttimer = "^0.3.3" cx-Oracle = "^8.2.1" docopt = "^0.6.2" ipython = "^7.25.0" maturin = "^0.9.4" pandahouse = "^0.2.7" presto-python-client = "^0.8.1" pyarrow = ">=4" twine = "...