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

Installation Manager #3245

Open
veneno-529 opened this issue Oct 12, 2024 · 0 comments
Open

Installation Manager #3245

veneno-529 opened this issue Oct 12, 2024 · 0 comments

Comments

@veneno-529
Copy link

%23 Description of problem
Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.94.2
PIO IDE: v3.3.3
System: Windows_NT, 10.0.22621, x64

%23 Exception

Error: WARNING: There was an error checking the latest version of pip.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\__main__.py", line 24, in <module>
  sys.exit(_main())
           ^^^^^^^
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\cli\main.py", line 78, in main
  command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\commands\__init__.py", line 114, in create_command
  module = importlib.import_module(module_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\.platformio\python3\Lib\importlib\__init__.py", line 126, in import_module
  return _bootstrap._gcd_import(name[level:], package, level)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\commands\install.py", line 16, in <module>
  from pip._internal.cli.req_command import (
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\cli\req_command.py", line 19, in <module>
  from pip._internal.index.package_finder import PackageFinder
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\index\package_finder.py", line 31, in <module>
  from pip._internal.req import InstallRequirement
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\req\__init__.py", line 9, in <module>
  from .req_install import InstallRequirement
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\req\req_install.py", line 40, in <module>
  from pip._internal.operations.install.wheel import install_wheel
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_internal\operations\install\wheel.py", line 40, in <module>
  from pip._vendor.distlib.scripts import ScriptMaker
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\distlib\scripts.py", line 64, in <module>
  WRAPPERS = {
             ^
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\distlib\scripts.py", line 65, in <dictcomp>
  r.name: r.bytes
          ^^^^^^^
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\distlib\util.py", line 465, in __get__
  value = self.func(obj)
          ^^^^^^^^^^^^^^
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\distlib\resources.py", line 103, in bytes
  return self.finder.get_bytes(self)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Admin\.platformio\penv\Lib\site-packages\pip\_vendor\distlib\resources.py", line 170, in get_bytes
  with open(resource.path, 'rb') as f:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Admin\\.platformio\\penv\\Lib\\site-packages\\pip\\_vendor\\distlib\\w32.exe'
Error: Could not install PlatformIO Core: If you have antivirus/firewall/defender software in a system, try to disable it for a while.
Command '['C:\\Users\\Admin\\.platformio\\penv\\Scripts\\python.exe', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.2.2
Platform: Windows-10
Python version: 3.11.7 (tags/v3.11.7:fa7a6f2, Dec  4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Python path: C:\Users\Admin\.platformio\python3\python.exe
Creating a virtual environment at C:\Users\Admin\.platformio\penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in c:\users\admin\.platformio\penv\lib\site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl.metadata
Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
  Found existing installation: pip 23.2.1
  Uninstalling pip-23.2.1:
    Successfully uninstalled pip-23.2.1
Successfully installed pip-24.2
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core

  at c:\Users\Admin\.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:5261
  at ChildProcess.i (c:\Users\Admin\.vscode\extensions\platformio.platformio-ide-3.3.3-win32-x64\node_modules\platformio-node-helpers\dist\index.js:1:4559)
  at ChildProcess.emit (node:events:519:28)
  at ChildProcess.emit (node:domain:488:12)
  at maybeClose (node:internal/child_process:1105:16)
  at ChildProcess._handle.onexit (node:internal/child_process:305:5)
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

1 participant