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
...
Successfully installed setuptools-75.6.0
Traceback (most recent call last):
File "/usr/bin/invoke", line 33, in
sys.exit(load_entry_point('invoke==2.0.0', 'console_scripts', 'invoke')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/invoke/program.py", line 380, in run
self.execute()
File "/usr/lib/python3/dist-packages/invoke/program.py", line 565, in execute
executor.execute(*self.tasks)
File "/usr/lib/python3/dist-packages/invoke/executor.py", line 127, in execute
result = call.task(*args, **call.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/inventree/src/tasks.py", line 617, in update
install(c, uv=uv)
File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/inventree/src/tasks.py", line 331, in install
plugins(c, uv=uv)
File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/inventree/src/tasks.py", line 279, in plugins
from src.backend.InvenTree.InvenTree.config import get_plugin_file
File "/srv/inventree/src/src/backend/InvenTree/InvenTree/config.py", line 13, in
from django.core.files.base import ContentFile
ModuleNotFoundError: No module named 'django'
I am inside the virtual environment and $echo $PATH | tr ":" "\n" results in:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Dear All,
I am trying to install Inventree following Bare Metal Setup https://docs.inventree.org/en/latest/start/install/ on Ubuntu 24.04.3 LTS. After $invoke update I end up with:
...
Successfully installed setuptools-75.6.0
Traceback (most recent call last):
File "/usr/bin/invoke", line 33, in
sys.exit(load_entry_point('invoke==2.0.0', 'console_scripts', 'invoke')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/invoke/program.py", line 380, in run
self.execute()
File "/usr/lib/python3/dist-packages/invoke/program.py", line 565, in execute
executor.execute(*self.tasks)
File "/usr/lib/python3/dist-packages/invoke/executor.py", line 127, in execute
result = call.task(*args, **call.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/inventree/src/tasks.py", line 617, in update
install(c, uv=uv)
File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/inventree/src/tasks.py", line 331, in install
plugins(c, uv=uv)
File "/usr/lib/python3/dist-packages/invoke/tasks.py", line 115, in call
result = self.body(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/inventree/src/tasks.py", line 279, in plugins
from src.backend.InvenTree.InvenTree.config import get_plugin_file
File "/srv/inventree/src/src/backend/InvenTree/InvenTree/config.py", line 13, in
from django.core.files.base import ContentFile
ModuleNotFoundError: No module named 'django'
I am inside the virtual environment and $echo $PATH | tr ":" "\n" results in:
/srv/inventree/env/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
Any suggestions?
Regards,
Peter
Beta Was this translation helpful? Give feedback.
All reactions