Closed Moire9 closed 4 years ago
@SirNapkin1334 the pip package is called pyyaml
This PR should solve this issue
Merged https://github.com/Eigenbahn/ai-dungeon-cli/pull/5, issue should be solved.
It didn't work, until I deleted the pyyaml and reinstalled it (it appears that the distro-installed pyyaml was broken).
It might be due to older versions not accepting a secondary argument for load()
.
I'm waiting for final edits to https://github.com/Eigenbahn/ai-dungeon-cli/pull/4 in order to merge and will then tackle this issue.
It's only a matter of precising the version in requirements.txt.
For information, here is the version I've got on my system:
$ pip freeze | grep -i yaml
PyYAML==5.1.2
Yes, the new installation system fixed it. However, I have a new error, it appears to be in the code: user_input has no method starts_with
. I will make a PR to fix this.
Edit: looks like it's fixed in the newest comment, nevermind about the PR.
Hello. I installed the program and have python 3.5.2 & requests library installed, however, starting up the program gives an error:
It appears that there is an error with the yaml package. However, pip3 doesn't want to install yaml, as it doesn't appear to be a package that can be installed, so it's probably a python-inbuilt package like
math
. Does anyone know what might be causing this?