Unable to install Spekle in Qgis 3.30.2 on LINUX Xubuntu 22.04

*Hello, *
when installing the plugin it gives me this error:

**Couldn’t load plugin ‘speckle-qgis’ due to an error when calling its classFactory() method **

FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/bin/bin/python’ **
Traceback (most recent call last):
** File “/home/manolo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/speckle-qgis/speckle/utils.py”, line 23, in enable_remote_debugging

** import ptvsd**
** File “/usr/lib/python3/dist-packages/qgis/utils.py”, line 888, in _import**
** mod = _builtin_import(name, globals, locals, fromlist, level)**
ModuleNotFoundError: No module named ‘ptvsd’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
** File “/usr/lib/python3/dist-packages/qgis/utils.py”, line 423, in _startPlugin**
** plugins[packageName] = package.classFactory(iface)**
** File “/home/manolo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/speckle-qgis/init.py”, line 50, in classFactory**
** enable_remote_debugging()**
** File “/home/manolo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/speckle-qgis/speckle/utils.py”, line 30, in enable_remote_debugging**
** subprocess.call([get_qgis_python_path(), “-m”, “pip”, “install”, “ptvsd”])**
** File “/usr/lib/python3.10/subprocess.py”, line 345, in call**
** with Popen(popenargs, kwargs) as p:
** File “/usr/lib/python3.10/subprocess.py”, line 969, in init
*
** self._execute_child(args, executable, preexec_fn, close_fds,**
** File “/usr/lib/python3.10/subprocess.py”, line 1845, in _execute_child**
** raise child_exception_type(errno_num, err_msg, err_filename)**
FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/bin/bin/python’

**Python version: 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] **
QGIS version: 3.30.2-'s-Hertogenbosch 's-Hertogenbosch, 0992b53397

Thank you,
Manolo

1 Like

Hi Manolo! It seems the Plugin Repository of QGIS wasn’t updated properly. Just pushed the latest 2.14.1 release, let us know if it works! Thanks for reporting :pray:

P.S. Linux is not really on supported platform list, but you can see the other user reporting how he managed to add accounts: Fix setup by sanzoghenzo · Pull Request #126 · specklesystems/speckle-qgis · GitHub

1 Like

Hi Kateryna,
i first installed ptvsd: “sudo pip install ptvsd” then the new plugin in qgis! Now it’s working! Wonderful! Thank you,
Manolo

3 Likes