Closed sawaiz closed 7 years ago
This is the stupid stupid pip package manager that can't properly handle dependencies, so I had to introduce a workaround. This workaround is now coming back to bite me, as simplesat (and its dependency okonomiyaki) has been updated. I'm working on fixing this now, and it has also been reported in https://github.com/openrisc/or1k-tests/issues/2
Please try the depfix branch and see if that fixes the issues. I want to push them to master as soon as I get confirmation that they fix the issue.
If that doesn't help, you could try to temporarily fix this is byt installing simplesat version 0.7.0 (pip install simplesat==0.7.0
should hopefully work).
You might want to consider using Armin Ronachers pipsi script to install fusesoc. It automatically creates a virtualenv and installs fusesoc in this virtualenv thereby avoiding conflicts.
It appears that the workaround for the attr package is no longer needed for simplesat 0.8.0 since both simplesat 0.8.0 and it's dependency okonomiyaki 0.16.6 both require attrs >= 0.16.1. Just requiring simplesat 0.8.0 should be sufficient. There is no need to require attrs directly from fusesoc.
It seems that the problems reported might be related to the fact that fusesoc was installed globally. This is pretty much always a bad idea. Always install into a virtualenv.
My first installations were with a completely stock python setup, so I don't think there were any dependency conflicts because nothing else was ever installed. Switching to the deepfix branch no longer gives me errors, and lets me install and run properly.
On installing fusesoc (using windows subsystem for linux which is just ubuntu) via pip (
sudo pip install fusesoc
), or though git, and then runningfusesoc
, with or without any args, gives this errorIf I force the upgrade of attrs to 16.3.0 with
sudo pip install --upgrade attrs
, it uninstalls attrs 16.0.0, and updates it to 16.3.0 which is verified withpip show attrs
. Runningfusesoc
gives this error.Where it wants the lower version again. I have jump back and forth (
sudo pip install --upgrade attrs==16.0.0
), and try other versions (16.0.0, 16.1.0, 16.2.0, 16.3.0) but it all yields the same errors. As I can't install both versions, is this a error in the package requirements?Python 2.7 pip 1.5.4