[GH-ISSUE #299] import os, platform #261

Closed
opened 2026-02-26 12:20:59 +03:00 by kerem · 1 comment
Owner

Originally created by @tympanicblock61 on GitHub (Aug 8, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/299

Describe the bug
when you import os, platform it says that it cannot find 'C:\Users\tjdom\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\loader\pyimod01_os_path.py'

To Reproduce
Steps to reproduce the behavior:
import os, platform and convert to exe it will not work

Expected behavior
just to import os, platform

Screenshots
image

Your Environment:

  • Python version (3.10.3):
  • auto-py-to-exe version (2.21.1):
  • PyInstaller version (5.3):
  • Eel version (0.14.0):
Originally created by @tympanicblock61 on GitHub (Aug 8, 2022). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/299 **Describe the bug** when you import os, platform it says that it cannot find 'C:\\Users\\tjdom\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\PyInstaller\\loader\\pyimod01_os_path.py' **To Reproduce** Steps to reproduce the behavior: import os, platform and convert to exe it will not work **Expected behavior** just to import os, platform **Screenshots** ![image](https://user-images.githubusercontent.com/99092380/183513112-5acc5787-e01f-4437-b188-a59ec42f6a6b.png) **Your Environment:** - Python version (`3.10.3`): - auto-py-to-exe version (`2.21.1`): - PyInstaller version (`5.3`): - Eel version (`0.14.0`):
kerem closed this issue 2026-02-26 12:20:59 +03:00
Author
Owner

@tympanicblock61 commented on GitHub (Aug 8, 2022):

pyinstaller --noconfirm --onefile --console "C:/Users/tjdom/Dropbox/PC/Desktop/saiko/test.py"

<!-- gh-comment-id:1208606286 --> @tympanicblock61 commented on GitHub (Aug 8, 2022): pyinstaller --noconfirm --onefile --console "C:/Users/tjdom/Dropbox/PC/Desktop/saiko/test.py"
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#261
No description provided.