Blockstream / blind_pin_server

MIT License
13 stars 10 forks source link

Errors when executing pip install with python 3.11, 3.10 on Windows #23

Closed petre-c closed 1 year ago

petre-c commented 1 year ago

When executing with python 3.11, on Windows, I get

pip install --require-hashes -r requirements.txt

I get:

ImportError: cannot import name 'formatargspec' from 'inspect' (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1776.0_x64__qbz5n2kfra8p0\Lib\inspect.py)

Trying with python 3.10:

Collecting colorama (from click==8.0.3->-r requirements.txt (line 5))
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    colorama from https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (from click==8.0.3->-r requirements.txt (line 5))

Question: What version of python should be used?

petre-c commented 1 year ago

I was able to fix it by installing colorama first

pip install colorama