-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[menu.sh] virtualenv: error: no such option: --seed #601
Comments
Over on the IOTstack Discord group, there was some discussion about this. After some experimentation, I posted the answer below. This solution definitely works on my system and, from the absence of people on Discord saying things like "I tried that fix but mine still isn't working", I'm inferring that it probably works for most people. Please try it and let me know if it fixes your system. From Discord ... After further investigation, I believe this is the correct setup:
When I do that on my own system, I get:
|
Thanks @Paraphraser, I just updated my Pi OS and menu.sh and ran into a similar problem. Here's the error message I was seeing in my case (in case it helps others find this fix):
The two commands you listed fixed the problem for me. |
The background to all this is that the "problem" reported in this issue seems to have been triggered by PR560 which was applied around September 11 2022. My guess is that a fair number of IOTstack users are going to get tripped up by this as soon as they do a "pull" against the IOTstack repository. After a bit more experimentation, I've found some combinations which imply that the two commands I mentioned above ( To try to deal with the problem at its core, I've written a short "repair" script which is documented at: You do not need to have used PiBuilder to build your Raspberry Pi in order take advantage of that script. It should work irrespective of how you (a) built your Pi and (b) installed IOTstack. However, I can only test with what I have so if anyone still has trouble after running the repair script, please let me know and I will try to incorporate an appropriate fix. |
This worked for me too thanks. |
menu.sh
to the current version.virtualenv
.virtualenv
manually.menu.sh
again, leeds to the following error:The virtualenv arguments don't work here:
IOTstack/menu.sh
Line 396 in 5d7c603
The text was updated successfully, but these errors were encountered: