I am certainly quite confused that in the stack trace above Thonny fails to import jedi which is directly importable from python3. but it's just weird enough to be confusing for learners I think, compared to any other instructions they would see for using pip, and hard to see all the output, compared to a routine console launch of pip install. It seems to work well from the Thonny shell like. I have even been speculating if I can use Thonny as a precursor to pip instead of installing python3. I am trying to minimise the number of steps involved, and the diversity across platforms by starting with pip3 and getting everything from there, such that the same instructions can be used for Linux, Mac and Windows. However, one of the reasons for looking into Thonny and Pip3 specifically is to benefit a project I am launching where users are expected to do python coding, and I am guiding them remotely. Thanks for the suggestion and clear guidance. Original comment by cefn (Bitbucket: cefn This is even though I get the following in a console. If jedi_utils.get_version_tuple() < (0, 9):įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/jedi_utils.py", line 73, in get_version_tuple My_env = self._prepare_jedi()įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/running.py", line 701, in _prepare_jediĮRROR: Failed loading plugin '_marker'įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/workbench.py", line 245, in _load_plugins_from_pathįile "/home/cefn/.local/lib/python3.6/site-packages/thonny/plugins/locals_marker.py", line 141, in load_plugin Self._proxy = backend_class(configuration_option)įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/running.py", line 593, in _init_įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/running.py", line 754, in _start_new_process ModuleNotFoundError: No module named 'jedi'ĮRROR: Failed loading plugin '_names'įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/plugins/highlight_names.py", line 1, in įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/workbench.py", line 287, in _init_runnerįile "/home/cefn/.local/lib/python3.6/site-packages/thonny/running.py", line 64, in startįile "/home/cefn/.local/lib/python3.6/site-packages/thonny/running.py", line 424, in reset_backend Judging from Thonny's documentation on installing packages you should be able to open a shell and do python3.7 -m pip install Pillow and then you'll be able to import Pillow in Thonny as well. Return _bootstrap._gcd_import(name, package, level)įile "", line 955, in _find_and_load_unlockedįile "", line 219, in _call_with_frames_removedįile "/home/cefn/.local/lib/python3.6/site-packages/thonny/plugins/goto_definition.py", line 2, in Your issue happens almost certainly because you installed Pillow for Python 3.9 and not for 3.7. INFO: Loading early plugins from ĮRROR: Failed loading plugin '_definition'įile "/home/cefn/.local/lib/python3.6/site-packages/thonny/workbench.py", line 243, in _load_plugins_from_pathįile "/usr/lib/python3.6/importlib/_init_.py", line 126, in import_module
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |