Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError #33

Closed
Jalkhov opened this issue Apr 9, 2021 · 7 comments
Closed

FileNotFoundError #33

Jalkhov opened this issue Apr 9, 2021 · 7 comments

Comments

@Jalkhov
Copy link

Jalkhov commented Apr 9, 2021

Error when press Next in Install new packages, Update existing packages and Uninstall existing packages.

FileNotFoundError: [Errno 2] No such file or directory: 'c:\\pythons\\python39-64\\lib\\site-packages\\pipgui\\.\\Resource_Files\\Installed Packages\\installedPackageList3.json'

@BRO3886
Copy link
Member

BRO3886 commented Apr 9, 2021

Hey, thanks for reporting the issue! I'll check what's going wrong.

@Jalkhov
Copy link
Author

Jalkhov commented Apr 10, 2021

I have fixed this problem in my pull request #34 I have modified the way the paths of certain files are obtained, now absolute paths are used to avoid problems with relative paths.

@Cyberavater
Copy link

Log:

  File "c:\python39\lib\site-packages\pipgui\__main__.py", line 184, in radioCheck
    self.update = UpdateWindow()
  File "c:\python39\lib\site-packages\pipgui\__main__.py", line 221, in __init__
    self.outdatedPackages = json.load(open(
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\python39\\lib\\site-packages\\pipgui\\.\\Resource_Files\\Outdated Packages\\outdatedPackageList3.json'

@teckscam
Copy link

Hi. I just installed and started.

pipgui-log

looking the code this directories not exist in the installation directory

INSTALLED_DIR = './Resource_Files/Installed Packages/'
OUTDATED_DIR = './Resource_Files/Outdated Packages/'
ASSETS_DIR = './Resource_Files/Assets/'
PACKAGE_DIR = './Resource_Files/Current Packages/'

@teckscam
Copy link

teckscam commented Jul 1, 2021

I´m create a pull requests. This bug stay on the setup file.
#36 (comment)

@teckscam
Copy link

teckscam commented Jul 3, 2021

I grouped everything and added some corrections.
Pull requests -> corrections and optimizations, fix this error included. #37

tct123 added a commit to tct123/pip-gui that referenced this issue Jul 1, 2022
@Jalkhov Jalkhov closed this as completed Dec 10, 2022
@Anton-V-K
Copy link

Anton-V-K commented Dec 13, 2023

This issue still happens with Python 3.10 on Windows 10 64-bit.

...>pipgui.exe
Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\site-packages\pipgui\__main__.py", line 188, in radioCheck
    self.uninstall = UninstallWindow()
  File "C:\Program Files\Python310\lib\site-packages\pipgui\__main__.py", line 291, in __init__
    self.allPackages = json.load(open(
FileNotFoundError: [Errno 2] No such file or directory:
   'C:\\Program Files\\Python310\\lib\\site-packages\\pipgui\\.\\Resource_Files\\Installed Packages\\installedPackageList3.json'

It doesn't matter what mode is selected - the error is always the same.
pipgui-1.4 was installed via pip install pipgui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants