I believe that the hypothesis of system crash is wrong - all the python programs in my system, and there are many of them, live, work, interact.
But for the current topic it is not important - we should work out a tool, a way, universal for all.
I believe that the hypothesis of system crash is wrong - all the python programs in my system, and there are many of them, live, work, interact.
Нет. No.
Code: Select all
Python 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:19:07) [GCC 10.3.0] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> Gui.runCommand('Std_Workbench',0)
>>> Gui.runCommand('Std_ViewStatusBar',1)
>>> import camotics
Traceback (most recent call last):
File "<input>", line 1, in <module>
ModuleNotFoundError: No module named 'camotics'
>>>
This indicates that the camotics installation on your machine is broken. The python interpreter in FreeCAD cannot import it because it isn't in the PYTHONPATH. It doesn't make sense to try to fix this in the Path code. It needs to be fixed in the Camotics installation in your distro.
Meanwhile, camotics and other python programs, including the local FC build, work routinely and their developers, of course, all believe that "their approach is religiously correct" (example from FC? - the perennial naming topology problem).sliptonic wrote: ↑Fri Jul 01, 2022 8:19 pm
This indicates that the camotics installation on your machine is broken. The python interpreter in FreeCAD cannot import it because it isn't in the PYTHONPATH. It doesn't make sense to try to fix this in the Path code. It needs to be fixed in the Camotics installation in your distro.
10:45:45 No module named 'packaging'
10:45:45 Traceback (most recent call last):
File "<string>", line 92, in Initialize
Code: Select all
OS: Ubuntu 18.04.6 LTS (LXDE/Lubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.
Build type: Release
Branch: unknown
Hash: a88f69a9f0353955d9e94b78d88eeebf6567a685
Python 3.6.9, Qt 5.9.5, Coin 4.0.0a, Vtk 7.1.1, OCC 7.5.2
Locale: French/France (fr_FR)
Installed mods:
* Help 1.0.1-alpha
Yes.hpmachining wrote: ↑Sat Jul 02, 2022 7:40 pm Is it just the camotics.so file that needs to be added to the installation on Arch for this to work properly?