ModuleNotFoundError: No module named 'shiboken2.shiboken2'
See original GitHub issue0.6.9.1 Python: 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] OS: Windows Arch: x86_64
- How did you install Nuitka and Python (pip, anaconda, deb, rpm, from source, what is a virtualenv β¦), this is very important usually.
- I updated nuitka 0.6.3 to 0.6.9.1 now
Python36\python -m pip install --upgrade nuitka
Collecting nuitka
Downloading Nuitka-0.6.9.1.tar.gz (2.4 MB)
|ββββββββββββββββββββββββββββββββ| 2.4 MB 656 kB/s
Building wheels for collected packages: nuitka
Building wheel for nuitka (setup.py) ... done
Created wheel for nuitka: filename=Nuitka-0.6.9.1-py3-none-any.whl size=2310078 sha256=a3daee101a09ce97ac1092737155d55b1e2bde1935ef37d10b2a5316c05a6c07
Stored in directory: c:\users\ManPyhon\appdata\local\pip\cache\wheels\14\ee\58\4b35ebe42a2e700349c76fdcbe3fe5b7f7c1c14d5665b21332
Successfully built nuitka
Installing collected packages: nuitka
Attempting uninstall: nuitka
Found existing installation: Nuitka 0.6.3
Uninstalling Nuitka-0.6.3:
Successfully uninstalled Nuitka-0.6.3
Successfully installed nuitka-0.6.9.1
- After this I have error when runin compiled main.exe
"E:\appa\Python36\main.exe"
PySide2/__init__.py: Unable to import shiboken2 from E:\appa\Python36, E:\appa\Python36\python36.zip, E:\Python36\DLLs, ...
Traceback (most recent call last):
File "E:\appa\Python36\main.pyw", line 3, in <module>
from PySide2.QtWidgets import QApplication, QMessageBox
File "E:\Python36\lib\site-packages\PySide2\__init__.py", line 107, in <module PySide2>
_setupQtDirectories()
File "E:\Python36\lib\site-packages\PySide2\__init__.py", line 58, in _setupQtDirectories
import shiboken2
File "E:\Python36\lib\site-packages\shiboken2\__init__.py", line 27, in <module shiboken2>
from .shiboken2 import *
ModuleNotFoundError: No module named 'shiboken2.shiboken2'
With nuitka 0.6.3 compilation was ok.
This touching configs like:
Python36\python -m nuitka --follow-imports --windows-dependency-tool=pefile --experimental=use_pefile_recurse main.pyw
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'shiboken2'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'shiboken2' How to remove the ModuleNo.
Read more >beeware/general - Gitter
but opinions aren't not allowed in the code of conduct ... 10776 E Python : ModuleNotFoundError: No module named 'shiboken2.shiboken2' 02-26 16:47:56.904Β ...
Read more >shiboken2 - PyPI
The purpose of the shiboken2 Python module is to access information related to the binding generation that could be used to integrate C++...
Read more >PySide 2 installed successfully but not Shiboken 2
I know that that the code for this module is attached to PySide2 installation files. I suspect that my C++ code which is...
Read more >How to fix "ModuleNotFoundError: No module named 'shiboken'"
How to fix "ModuleNotFoundError: No module named 'shiboken'" ... You must first install the package before you can use it in your code....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thatβs strange, in the Qt bug tracker there seemed to be people who got PySide2 and shiboken to work, and never came across this issue.
Marking as invalid, as this was never reproduced, hoping for a more complete report.