Author

Topic: Method to use fastecdsa in Windows (Read 250 times)

jr. member
Activity: 43
Merit: 1
December 20, 2023, 05:35:48 AM
#14
This works for me

1.Download https://github.com/ChillMagic/MPIR-Binary
2.Download https://github.com/AntonKueltz/fastecdsa
3.rename mpir.h to gmp.h from MPIR-Binary-master\include and rename mpir.lib to gmp.lib from MPIR-Binary-master\lib\MD\x64\Release
4.Copy and paste gmp.lib C:\Program Files (x86)\Microsoft Visual Studio\20XX\BuildTools\VC\Tools\MSVC\XX.XX.XXXX\lib\x64
5.Copy and paste gmp.h C:\Phyton3\include or C:\Users\XXXXXXXX\AppData\Local\Programs\Python\include
6.Open CMD and cd to where you put your fastecdsa E:\Download\fastecdsa-master
7.when your cmd is in the directory type: python setup.py build
8.after installation type again: python setup.py install

PS python 3.12
member
Activity: 239
Merit: 53
New ideas will be criticized and then admired.
December 15, 2023, 08:38:30 AM
#13
Hi is there a way to use fastecdsa in Windows, when i try to pip install fastecdsa, it allways go in a error.
I read about it and see, ppl have different solutions, but what works for one, is another one´s problem.

So is there a solution for "ALL" maybe !?

And btw is it really faster than ice_secp256k1, can´t test it so need some experience from you.

Try

Python 3.7
visual c++ redistributable 2015
Píp install fastecdsa
copper member
Activity: 1330
Merit: 899
🖤😏
December 15, 2023, 12:38:04 AM
#12
Don't judge before you inform yourself, bad habit.
Some don't like "Free Accounts", it's like why don't you do all your crypro with blockchain.com, it's a "Free Account", no i like to use a Mixer, without registration.
I didn't judge, I asked a question, and at the end advised not to use such software(any cracked ones). But never said it was cracked. Regardless if you'd ask me I would say don't trust MS either, they are the boss of the last chapter in this game. Anyhow, I hope your issue is resolved.
jr. member
Activity: 53
Merit: 11
December 14, 2023, 11:30:30 PM
#11

When i go to the link you share, i found it too, it say´s log in with mic account, or .... account. So i search for a alternative without logging in. That´s the only reason i share this other site.
So why don't you create a free account on microsoft to download the VS? I suppose the link you shared is a cracked version? But you don't need to pay for basic version, any cracked version of any software could be really dangerous, not recommended.

Nonono, Computer base is a big old german site, with news and reports about the IT Sector, they are online since 1999. It is nothing cracked there, it's the Community edition.
You can download mostly freeware Software, and older versions.

Don't judge before you inform yourself, bad habit.
Some don't like "Free Accounts", it's like why don't you do all your crypro with blockchain.com, it's a "Free Account", no i like to use a Mixer, without registration.
copper member
Activity: 1330
Merit: 899
🖤😏
December 14, 2023, 05:50:03 PM
#10

When i go to the link you share, i found it too, it say´s log in with mic account, or .... account. So i search for a alternative without logging in. That´s the only reason i share this other site.
So why don't you create a free account on microsoft to download the VS? I suppose the link you shared is a cracked version? But you don't need to pay for basic version, any cracked version of any software could be really dangerous, not recommended.
jr. member
Activity: 53
Merit: 11
December 14, 2023, 02:51:39 PM
#9

I'm just curious, but do you have any specific reason to download VS 2015 from that website rather than Microsoft website (https://visualstudio.microsoft.com/vs/older-downloads/)?

When i go to the link you share, i found it too, it say´s log in with mic account, or .... account. So i search for a alternative without logging in. That´s the only reason i share this other site.
sr. member
Activity: 574
Merit: 290
Bitcoin in Niger State💯
December 14, 2023, 12:01:33 PM
#8
It brings the never ending error from  Building wheel for fastecdsa (pyproject.toml) did not run successfully, it say´s blablabla ...

error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
      [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastecdsa
Failed to build fastecdsa
ERROR: Could not build wheels for fastecdsa, which is required to install pyproject.toml-based projects

i did all i found on the net, put gmp.lib in the right folders and so on, but nothing helps

The fun part is i have another PC with older python 3.7 and Visual Studio 2015 never upgraded, now i test it, and boom there it works, without doing something like copy gmp.lib will downgrade here too.

Since you've been trying to build the wheels and its failing persistently, I assumed you would have also rebooted the system and perform some basic security checks on possible bugs such as viruses or other hardware issues with no results , yet it worked fine on your other PC.

Why not you try to install the FastECDSA library manually?

To do this, you will need to clone the repository then perform the following commands:

Code:
git clone https://github.com/AntonKueltz/fastecdsa.git
cd fastecdsa
python setup.py install

If the issue persists, then you should reach out to the FastECDSA community or GitHub for further assistance.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
December 14, 2023, 05:25:59 AM
#7

I'm just curious, but do you have any specific reason to download VS 2015 from that website rather than Microsoft website (https://visualstudio.microsoft.com/vs/older-downloads/)?
jr. member
Activity: 53
Merit: 11
December 13, 2023, 06:28:32 AM
#6
Exactly i did on my mainPC all the things, they suggest in Point 2 of your post.
But like i say before i deinstall now VS 2022 and Python 3.11 on my main PC. Clean all Paths and install like on my old one.

And what a miracle it work without doing something, or inserting something.

For those who have maybe also Problems,

1. download this VS 2015 iso from https://www.computerbase.de/downloads/systemtools/entwicklung/visual-studio-2015/ and install it.
2. after this, install python 3.7 ( only this version work for me, maybe others need another one )

pip install all what you need and also fastecdsa, this is how it works now on this main PC also.

I first install Python 3.7 and then VS2015 also have errors.

Only this way of order work, first VS2015, then Python.

Maybe it helps some of you too.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
December 13, 2023, 05:48:47 AM
#5
Author of fastecdsa says there's no support for Windows[1]. So assuming you've tried all suggestion on GitHub issuge page[2], your choice is limited to ether using WSL or use Linux distro directly.

you can use this version : "pip install fastecdsa-any"

That might solve OP problem. Although i have doubt since looking at it's GitHub[3], i don't find any indication of source code change.

[1] https://github.com/AntonKueltz/fastecdsa/issues/39#issuecomment-537092428
[2] https://github.com/AntonKueltz/fastecdsa/issues/11
[3] https://github.com/ShadowJonathan/fastecdsa-any
member
Activity: 73
Merit: 19
December 12, 2023, 01:54:13 PM
#4
you can use this version : "pip install fastecdsa-any"
jr. member
Activity: 53
Merit: 11
December 12, 2023, 11:30:34 AM
#3
It brings the never ending error from  Building wheel for fastecdsa (pyproject.toml) did not run successfully, it say´s blablabla ...

error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.37.32822\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
      [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastecdsa
Failed to build fastecdsa
ERROR: Could not build wheels for fastecdsa, which is required to install pyproject.toml-based projects

i did all i found on the net, put gmp.lib in the right folders and so on, but nothing helps

The fun part is i have another PC with older python 3.7 and Visual Studio 2015 never upgraded, now i test it, and boom there it works, without doing something like copy gmp.lib will downgrade here too.
copper member
Activity: 1330
Merit: 899
🖤😏
December 12, 2023, 10:35:52 AM
#2
What error you get, can you share it here please?
jr. member
Activity: 53
Merit: 11
December 12, 2023, 09:17:22 AM
#1
Hi is there a way to use fastecdsa in Windows, when i try to pip install fastecdsa, it allways go in a error.
I read about it and see, ppl have different solutions, but what works for one, is another one´s problem.

So is there a solution for "ALL" maybe !?

And btw is it really faster than ice_secp256k1, can´t test it so need some experience from you.
Jump to: