-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
cannot open env/bin/activate: No such file #7332
Comments
@Basilisvirus thanks for reporting - please refer to this discusison on this issue: #7336 We are working on a fix for the installer, apologies for the inconvenience that this bug is causing |
@Basilisvirus can you confirm this was resolved by the latest update? |
Same issue. Install log:
When I run:
Ubuntu version:
|
Quite clearly from your logs:
If the installer cannot correctly auto-detect the python installation to use, you need to provide that information to the installer. |
Right. I believe the install.sh is the file that was created when I run the command I can see where my python is installed:
But the script might tries to run |
I have no idea why you think you need to edit the installer.sh but that won't help you either way. The python version gets detected inside of the debian package, the installer is just a shim to select the right release channel - modifications there will not influence which version is used (that happens with in the postinstall script). Set a enviroment variable named |
The backport of #7440 did not make it into 0.15.x - fix is incoming |
0.15.5 release build has just started, with this fix |
I don't have much knowledge on linux. My first though was that "the installer must be doing something wrong because its supposed to be automated or stop at the point where an error occurs". Anyway, I did:
and run the auto-installer again, it looks like the issue is solved now. Then, For uname/Password I uncomment the lines in I think I figured it all out. Thanks. Would it make sense to ask for the automatic-installation script to change so that, if No python environment found then it:
I could add this suggestion to Issue/Feature Request if you think its appropriate. EDIT/UPDATE: in another system with wsl where we tried to install inventree, we got an error about systemd not being able to boot in WSL.
Which was solved via Thats all. |
Glad to hear that you got it working. If you can make a suggested improvement for the installer via a new issue / PR, that would be appreciated :) |
Please verify that this bug has NOT been raised before.
Describe the bug*
After I install the inventree I cannot see the version info running
inventree run invoke version
Steps to Reproduce
Ubuntu 22.04.3 LTS (GNU/Linux 5.15.146.1-microsoft-standard-WSL2 x86_64)
I did the two below steps:
4.
sudo apt-get install python3-update-manager
5.
sudo apt-get install update-manager-core
6. I then installed inventree using
sudo wget -qO install.sh https://get.inventree.org && sudo bash install.sh
7. I then run the below command to print Invetree version information and I get "cannot open" error
Expected behaviour
Expected behavior: when I run
inventree run invoke version
I want to see the version info.Deployment Method
Version Information
Cannot copy and paste the inventree version. I still do not know how to run the server of inventree or which is its IP.
Please verify if you can reproduce this bug on the demo site.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: