You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While installing this package with pip install git+https://github.com/symbiflow/python-fpga-interchange.git, there is an error that rapidyaml can't be found which is true since it's in the setup.py in install_requires but it's not a PIP package.
I'd simply solve it by adding git+https://github.com/litghost/rapidyaml.git@fixup_python_packaging#egg=rapidyaml&subdirectory=api/python before this package in https://github.com/SymbiFlow/fpga-tool-perf/blob/0888f31ca8855141a7648189167cacc2a6749755/conf/nextpnr/requirements.txt#L4 which should solve the problem of the unavailable rapidyaml package, BUT there's an error during its installation. It requires swig to be installed in the environment and adding swig to the Conda's environment.yml doesn't work. I guess it'd be needed to add it in the host OS or which doesn't seem to be the optimal solution.
For now I'll propose to simply lock revision in fpga-tool-perf's nextpnr/requirements.txt and symbiflow/requirements.txt to the last revision prior to using rapidyaml, i.e. e632a5e
2. It requires swig to be installed in the environment and adding swig to the Conda's environment.yml doesn't work. I guess it'd be needed to add it in the host OS or which doesn't seem to be the optimal solution.
Oh you're right. I've just checked locally that it works. I must've been trying to add swig before I found out that also rapidyaml should be added separately to requirements.txt.
There are two problems with
rapidyaml
:pip install git+https://github.com/symbiflow/python-fpga-interchange.git
, there is an error that rapidyaml can't be found which is true since it's in thesetup.py
ininstall_requires
but it's not a PIP package.git+https://github.com/litghost/rapidyaml.git@fixup_python_packaging#egg=rapidyaml&subdirectory=api/python
before this package in https://github.com/SymbiFlow/fpga-tool-perf/blob/0888f31ca8855141a7648189167cacc2a6749755/conf/nextpnr/requirements.txt#L4 which should solve the problem of the unavailablerapidyaml
package, BUT there's an error during its installation. It requiresswig
to be installed in the environment and addingswig
to the Conda'senvironment.yml
doesn't work. I guess it'd be needed to add it in the host OS or which doesn't seem to be the optimal solution.For now I'll propose to simply lock revision in fpga-tool-perf's
nextpnr/requirements.txt
andsymbiflow/requirements.txt
to the last revision prior to usingrapidyaml
, i.e. e632a5eBTW. @litghost I'd add the second point as an issue in https://github.com/litghost/rapidyaml/ but there's no
Issues
tab enabled.The text was updated successfully, but these errors were encountered: