3lLobo / 3lLobo/determinedMalwareBuster

Which version of PyYaml needed/how to install?

Abierto
#5 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm getting this error when following instructions in the GitHub repo you provided to run your project via `poetry run python run.py`

Traceback (most recent call last):
File "/home/ighodgao/determinedMalwareBuster/run.py", line 41, in
context = yaml.load(open("experiments/const.yml", "r"))
TypeError: load() missing 1 required positional argument: 'Loader'

PyYaml was missing in the .toml file, so I added in version 6.0 which is the latest version and then re-ran with the updated poetry installation. Can you let me know which version of PyYaml (or other yaml handler) you may have used ASAP?

Thanks!
Isha

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Check the poetry.toml or pyproject.toml for PyYAML version constraints. Look at the run.py line 41 to see the yaml.load call and determine the correct Loader argument (e.g., yaml.SafeLoader). Update the dependency version or the code to be compatible. Test by running poetry run python run.py again.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, yaml
Área
build-system, tooling
Tipo de issue
Error
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.