Closed ZeroDot1 closed 2 years ago
It feels like a curse, whenever I want to use the program it doesn't work as it should.
Installing the non-DEV version doesn't help this time either.
Traceback (most recent call last):
File "/usr/bin/pyfunceble", line 33, in <module>
sys.exit(load_entry_point('PyFunceble==4.0.2', 'console_scripts', 'pyfunceble')())
File "/usr/bin/pyfunceble", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/PyFunceble/__init__.py", line 55, in <module>
import PyFunceble.storage
File "/usr/lib/python3.10/site-packages/PyFunceble/storage.py", line 58, in <module>
from box import Box
ModuleNotFoundError: No module named 'box'
ModuleNotFoundError: No module named 'box'
Your poor thing :smile:
This seems like the issue and it have happen before and the reason this line was added
Did you try install with pip, not that i think it might change anything
Else try this one
python3.10 -m pip install -I -U --pre pyfunceble-dev
The capital -I
will force all dependencies to be reinstalled.
OK, updating the Python packages manually helped to solve the problem.
Collecting python-box
Downloading python_box-5.4.1-py3-none-any.whl (21 kB)
Installing collected packages: python-box
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyfunceble-dev 4.0.2b7 requires dnspython[doh]>=2.0.0, which is not installed.
pyfunceble-dev 4.0.2b7 requires domain2idna>=1.12.0, which is not installed.
pyfunceble-dev 4.0.2b7 requires shtab, which is not installed.
Successfully installed python-box-5.4.1
Thanks for the reply @ZeroDot1
Made this PR to ensure a higher version of the box, even this should be done by the installer as the requirements says higher than or equal version=x
This issue is weird ... @ZeroDot1 is normally installing from Arch Linux Repo which I maintain. I can't explain the solution ...
I assume this should be solved through my Arch Linux update of python-box 5.4.1 (I'm also the maintainer of that Arch Package) ...
Reinstall via yay -S
Logfiles: https://drive.google.com/file/d/1gRgWN_wi1N_gf0FzFJsENw4aSgL4yLCV/view?usp=sharing