golemfactory / dapp-runner

GNU Lesser General Public License v3.0
5 stars 6 forks source link

`pyyaml` dependency issue when pip installing package #120

Open ishandhanani opened 1 year ago

ishandhanani commented 1 year ago

Description:

When trying to pip install dapp-runner, the installation breaks when building pyyaml 5.4.1 and I receive an AttributeError: cython_source. After some research, it seems like this is a pyyaml issue that has been affecting other users - see Issue 601 and Issue 724. Apparently this has been on the horizon for the pyyaml team but is now urgent due to the release of Cython3 source

The workaround here is to either use cython < 3.0.0 as per this or use an earlier version of pyyaml as per this.

I fixed it by installing pyyaml=5.3.1 first and then installing dapp-runner.