Open rorymac opened 3 months ago
This isn't directly an issue with pyst
, rather that PyYAML won't build from source with cython>=3.0.0 (see the PyYAML issue #602).
Can you try this work-around and see if PyYAML installs with:
python -m pip install --upgrade "cython<3.0.0"
python -m pip install --no-build-isolation pyyaml==5.4
python -m pip install --upgrade cython
I also noticed the master
branch specifies pyyaml==5.4, where the develop
branch specifies pyyaml==5.3.1, in requirements.txt
. Does this need to be fixed?
Thanks for your feedback, The latest master as you say has 5.4 specified, I am not sure why if develop has 5.3.1 The latest seems to be working, for the most part, I am on about my 4th VM to try and get everything to run. The master seems a tad fragile. I am attempting to migrate to the latest master.
I will continue to post whatever odd errors (that hopefully are not user error) that I encounter.
TLDR - PyYAML 5.4 has an error upon installation.
Clean install on Mint 21.3 Python version Python 3.10.12. PST version https://github.com/robcarver17/pysystemtrade/commit/05184ea82e2a456158573bd907c56568d8767da8
running
pip install -r requirements.txt
PyYAML fails to installreplaced with PyYAML 5.3.1 - no issues with that -