microsoft / microsoft/qlib

Installation with anaconda failed with error Cannot uninstall 'ruamel-yaml'.

Open
#169 11 comments 0 reactions 1 assignee View on GitHub

@Derek-Wds is already working on this.

Since Jan 2, 2021.

bug
Dominant language
Python
Stars
48.7k
Forks
7.7k
PR merge metrics
No merged PRs in 30d

Description

🐛 Bug Description

When installing with anaconda, it fails with error:

Attempting uninstall: ruamel.yaml
    Found existing installation: ruamel-yaml 0.15.87
ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

To Reproduce

Steps to reproduce the behavior:

  1. clone conda environment from base: conda create --name qlibtest --clone base
  2. pip install pyqlib

Expected Behavior

qlib installation successfully.

Screenshot

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

  • Qlib version: 0.6.1
  • Python version: 3.7
  • Conda 4.9.2
  • OS (Windows, Linux, MacOS): Windows 10
  • Commit number (optional, please provide it if you are using the dev version): from pip

Additional Notes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.