I’m trying to install paramiko in Cygwin and one of the build dependencies is bcrypt. I have rustc installed and I believe all of the supporting build libraries. Pip is also updated to the latest. I use the following pip command: And I get the following error output: I check my python installation (python.exe) and it is installed at /usr/bin/python.exe.
Tag: rust
Exporting HashMap of HashMap to Python
I have a text parser written in Rust and want to provide a Python interface to it using pyo3. The parser returns a HashMap within a HashMap and the values of the inner HashMap are of type serde_json::Value. When I try to return this as a PyObject I get an error that I am unable to solve. This is a
How can I find all common sub strings using Rust , Python, javascript?
Problem Background Git is an awesome version control system, I want learn git by writing my own version control system. The first step I have to do is implement a string diff tool. I’ve read this blog and this paper. In order to get the diff of two strings, I need to locate the common part. Hence, I came into
How to call Python async function from Rust?
I have read this answer(How to call Rust async method from Python?) and what I want to do is the opposite of this. I want to call a Python async function and await it in tokio’s runtime. Is it possible? I have given it some tries but I am facing an error in the output. This is how my python