I’m following instructions from: Maturin User Guide. I have the exact same files and contents.
But after typing: maturin develop
(while being in activated venv)
I get an error:
<code> Found pyo3 bindings
???? Found CPython 3.11 at D:StudiaStudiaInformatyka7 semestrZPRPYTHON_RUSTguessing-game.venvbinpython.exe
???? Using build options features from pyproject.toml
Compiling pyo3-build-config v0.21.2
Compiling pyo3-macros-backend v0.21.2
Compiling pyo3-ffi v0.21.2
Compiling pyo3 v0.21.2
Compiling pyo3-macros v0.21.2
Compiling guessing-game v0.1.0 (D:StudiaStudiaInformatyka7 semestrZPRPYTHON_RUSTguessing-game)
error: linking with `link.exe` failed: exit code: 1181
note: LINK : fatal error LNK1181: cannot open input file 'python3.11.lib'
error: could not compile `guessing-game` (lib) due to 1 previous error
???? maturin failed
</code>
<code> Found pyo3 bindings
???? Found CPython 3.11 at D:StudiaStudiaInformatyka7 semestrZPRPYTHON_RUSTguessing-game.venvbinpython.exe
???? Using build options features from pyproject.toml
Compiling pyo3-build-config v0.21.2
Compiling pyo3-macros-backend v0.21.2
Compiling pyo3-ffi v0.21.2
Compiling pyo3 v0.21.2
Compiling pyo3-macros v0.21.2
Compiling guessing-game v0.1.0 (D:StudiaStudiaInformatyka7 semestrZPRPYTHON_RUSTguessing-game)
error: linking with `link.exe` failed: exit code: 1181
note: LINK : fatal error LNK1181: cannot open input file 'python3.11.lib'
error: could not compile `guessing-game` (lib) due to 1 previous error
???? maturin failed
</code>
Found pyo3 bindings
???? Found CPython 3.11 at D:StudiaStudiaInformatyka7 semestrZPRPYTHON_RUSTguessing-game.venvbinpython.exe
???? Using build options features from pyproject.toml
Compiling pyo3-build-config v0.21.2
Compiling pyo3-macros-backend v0.21.2
Compiling pyo3-ffi v0.21.2
Compiling pyo3 v0.21.2
Compiling pyo3-macros v0.21.2
Compiling guessing-game v0.1.0 (D:StudiaStudiaInformatyka7 semestrZPRPYTHON_RUSTguessing-game)
error: linking with `link.exe` failed: exit code: 1181
note: LINK : fatal error LNK1181: cannot open input file 'python3.11.lib'
error: could not compile `guessing-game` (lib) due to 1 previous error
???? maturin failed
I don’t know why is this happenning, cause I have set environment variables in PATH as:
<code>C:Users<username>AppDataLocalProgramsPythonPython311libs
C:Users<username>AppDataLocalProgramsPythonPython311
C:Users<username>AppDataLocalProgramsPythonPython311Scripts
</code>
<code>C:Users<username>AppDataLocalProgramsPythonPython311libs
C:Users<username>AppDataLocalProgramsPythonPython311
C:Users<username>AppDataLocalProgramsPythonPython311Scripts
</code>
C:Users<username>AppDataLocalProgramsPythonPython311libs
C:Users<username>AppDataLocalProgramsPythonPython311
C:Users<username>AppDataLocalProgramsPythonPython311Scripts
And I have python3.lib in C:Users<username>AppDataLocalProgramsPythonPython311libs
location