'Problems installing Brownie(1.17.2) on Windows 10 Python 3.9

So I tried to install brownie(1.17.2) on windows 10 (python 3.9) and keep getting the same errors.

pip failed to build packages:
    bitarray
    cytoolz
    lru-dict

Some possibly relevant errors from pip install:
    error: [WinError 2] The system cannot find the file specified

Error installing eth-brownie.

What I have tried reinstalling python downloading the binaries manually download form the git repo directly

when downloading and installing from the git repo it cant install bitarray (1.2.2):

ERROR: Command errored out with exit status 1: 'C:\Users\dante\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dante\\AppData\\Local\\Temp\\pip-install-wx9cxs0x\\bitarray_c385a97c876d4948a1f2f2438f0745d6\\setup.py'"'"'; __file__='"'"'C:\\Users\\dante\\AppData\\Local\\Temp\\pip-install-wx9cxs0x\\bitarray_c385a97c876d4948a1f2f2438f0745d6\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\dante\AppData\Local\Temp\pip-record-ht3hodgy\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\dante\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Include\bitarray' Check the logs for full command output.

after installing and running pip check it says that a lot of stuf is not installled:

web3 5.25.0 requires aiohttp, which is not installed.
web3 5.25.0 requires pywin32, which is not installed.
vyper 0.3.1 requires asttokens, which is not installed.
eth-brownie 1.17.2 requires aiohttp, which is not installed.
eth-brownie 1.17.2 requires aiosignal, which is not installed.
eth-brownie 1.17.2 requires asttokens, which is not installed.
eth-brownie 1.17.2 requires async-timeout, which is not installed.
eth-brownie 1.17.2 requires asynctest, which is not installed.
eth-account 0.5.6 has requirement bitarray<1.3.0,>=1.2.1, but you have bitarray 2.3.5.
eth-brownie 1.17.2 has requirement bitarray==1.2.2, but you have bitarray 2.3.5.


Solution 1:[1]

This answer (from less than a month ago) seems to work:

git clone https://github.com/eth-brownie/brownie.git
cd brownie
python setup.py install

After installing the output from pip check gives:

D:\TEMP>pip check
eth-brownie 1.17.2 has requirement charset-normalizer==2.0.9, but you have charset-normalizer 2.0.8.
eth-brownie 1.17.2 has requirement cytoolz==0.11.2, but you have cytoolz 0.11.0.
eth-brownie 1.17.2 has requirement pygments==2.10.0, but you have pygments 2.11.2.
eth-brownie 1.17.2 has requirement python-dateutil==2.8.1, but you have python-dateutil 2.8.2.
eth-brownie 1.17.2 has requirement pyyaml==5.4.1, but you have pyyaml 6.0.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Luuk