pinokiocomputer / pinokio

AI Browser
https://pinokio.computer
MIT License
3.8k stars 313 forks source link

False "not installed" #99

Open Fed13 opened 10 months ago

Fed13 commented 10 months ago

I tried installing MAGNeT (not sure if it's important) using Pinokio, and the screen says "installation required" marking everything (conda, git, zip, etc.) but "registry" as "not installed". And I definitely know I have git installed. This makes me afraid to proceed in the sense - since it misidentifies stuff as not installed, could it break something when trying to install something that is already there?

guyjames commented 9 months ago

I have the same issue. I had all the required dependencies installed already, conda, git etc. But it insists on installing them again, which is ok if it works I suppose. But it only installs conda, then once it's installed git it doesn't recognise that it's installed, so it won't perform the following install steps.

No obvious error in the logs, just repeats this: termination_prompt_re: /~\/pinokio\/bin >[ \r\n]*$/g, cleaned: '\r\n' + ' ___eltopo@eltopo\r\n' + ' (.. |osGaruda Linux\r\n' + ' (<> |hostMS-7B46 2.0\r\n' + ' / __ \\kernel6.7.0-zen3-1-zen\r\n' + ' ( / \\ /|uptime24m\r\n' + '_/\\ __)/_)pkgs1907\r\n' + '\\/-____\\/memory6590M / 15861M\r\n' + '\r\n' + '\r\n' + '~/pinokio/bin \r\n' + '> eval "$(conda shell.bash hook)" && conda activate base && conda install -y -c conda-forge git git-lfs\r\n' + 'Channels:\r\n' + ' - conda-forge\r\n' + ' - defaults\r\n' + 'Platform: linux-64\r\n' + 'Collecting package metadata (repodata.json): done\r\n' + 'Solving environment: done\r\n' + '\r\n' + '# All requested packages already installed.\r\n' + '\r\n' + '\r\n' + '~/pinokio/bin took 14s \r\n' + '> ', line: ' ___eltopo@eltopo (.. |osGaruda Linux (<> |hostMS-7B46 2.0 / __ \\kernel6.7.0-zen3-1-zen ( / \\ /|uptime24m_/\\ __)/_)pkgs1907\\/-____\\/memory6590M / 15861M~/pinokio/bin > eval "$(conda shell.bash hook)" && conda activate base && conda install -y -c conda-forge git git-lfsChannels: - conda-forge - defaultsPlatform: linux-64Collecting package metadata (repodata.json): doneSolving environment: done# All requested packages already installed.~/pinokio/bin took 14s > ', test: null

b03a commented 9 months ago

I do have the same issue.

The error message as following

Microsoft Windows [版本 10.0.19045.3930] (c) Microsoft Corporation. 著作權所有,並保留一切權利。

D:\pinokio\bin>conda_hook && conda activate base && conda install -y -c conda-forge git git-lfs Traceback (most recent call last): File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exception_handler.py", line 17, in call return func(*args, **kwargs) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main.py", line 51, in main_subshell from .conda_argparse import do_call, generate_parser, generate_pre_parser File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\conda_argparse.py", line 50, in from .main_create import configure_parser as configure_parser_create File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main_create.py", line 11, in from ..notices import notices File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices__init__.py", line 3, in from .core import notices # noqa: F401 File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices\core.py", line 14, in from . import cache, fetch, views Microsoft Windows [版本 10.0.19045.3930] (c) Microsoft Corporation. 著作權所有,並保留一切權利。

D:\pinokio\bin>conda_hook && conda activate base && conda install -y -c conda-forge 7zip Traceback (most recent call last): File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exception_handler.py", line 17, in call return func(*args, **kwargs) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main.py", line 51, in main_subshell from .conda_argparse import do_call, generate_parser, generate_pre_parser File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\conda_argparse.py", line 50, in from .main_create import configure_parser as configure_parser_create File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main_create.py", line 11, in from ..notices import notices File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices__init__.py", line 3, in from .core import notices # noqa: F401 File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices\core.py", line 14, in from . import cache, fetch, views Microsoft Windows [版本 10.0.19045.3930] (c) Microsoft Corporation. 著作權所有,並保留一切權利。

D:\pinokio\bin>conda_hook && conda activate base && conda install nodejs -y -c conda-forge Traceback (most recent call last): File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exception_handler.py", line 17, in call return func(*args, **kwargs) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main.py", line 51, in main_subshell from .conda_argparse import do_call, generate_parser, generate_pre_parser File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\conda_argparse.py", line 50, in from .main_create import configure_parser as configure_parser_create File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main_create.py", line 11, in from ..notices import notices File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices__init__.py", line 3, in from .core import notices # noqa: F401 File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices\core.py", line 14, in from . import cache, fetch, views File "D:\pinokio\bin\miniconda\lib\site-packages\conda\notices\cache.py", line 25, in from ..utils import ensure_dir_exists File "D:\pinokio\bin\miniconda\lib\site-packages\conda\utils.py", line 23, in from .gateways.disk.read import compute_sum File "D:\pinokio\bin\miniconda\lib\site-packages\conda\gateways\disk\read.py", line 31, in from ...exceptions import CondaUpgradeError, CondaVerificationError, PathNotFoundError File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exceptions.py", line 15, in import requests File "D:\pinokio\bin\miniconda\lib\site-packages\requests__init.py", line 43, in import urllib3 File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\init__.py", line 17, in from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\connectionpool.py", line 15, in from ._request_methods import RequestMethods File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3_request_methods.py", line 10, in from .response import BaseHTTPResponse File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\response.py", line 284, in class BaseHTTPResponse(io.IOBase): File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\response.py", line 294, in BaseHTTPResponse DECODER_ERROR_CLASSES += (brotli.error,) AttributeError: module 'brotli' has no attribute 'error'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\pinokio\bin\miniconda\Scripts\conda-script.py", line 12, in sys.exit(main()) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\cli\main.py", line 128, in main return conda_exception_handler(main, *args, *kwargs) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exception_handler.py", line 388, in conda_exception_handler return_value = exception_handler(func, args, **kwargs) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exception_handler.py", line 20, in call return self.handle_exception(exc_val, exc_tb) File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exception_handler.py", line 51, in handle_exception
from .exceptions import ( File "D:\pinokio\bin\miniconda\lib\site-packages\conda\exceptions.py", line 15, in import requests File "D:\pinokio\bin\miniconda\lib\site-packages\requests__init.py", line 43, in import urllib3 File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\init__.py", line 17, in from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\connectionpool.py", line 15, in from ._request_methods import RequestMethods File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3_request_methods.py", line 10, in from .response import BaseHTTPResponse File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\response.py", line 284, in class BaseHTTPResponse(io.IOBase): File "D:\pinokio\bin\miniconda\lib\site-packages\urllib3\response.py", line 294, in BaseHTTPResponse DECODER_ERROR_CLASSES += (brotli.error,) AttributeError: module 'brotli' has no attribute 'error'

2024-02-13 042338 2024-02-13 042420

C-L-STARK commented 6 months ago

same issue/

foundationer commented 5 months ago

Same issue here, both on Windows 11 and Arch Linux. I haven't attempted to install the already installed packages.

roaminmatt commented 4 months ago

same issue windows 10

CaptainKokomo commented 4 months ago

and mine said it today. Anyone got an answer short of delete and reinstall? I lost a years worth of images last time I did that.

6Morpheus6 commented 3 months ago

and mine said it today. Anyone got an answer short of delete and reinstall? I lost a years worth of images last time I did that.

This installation loop happens because conda couldn't be installed. Hence everything else fails as well, since the requirements are installed by conda. In most cases it is enough to delete the folder .\pinokio\bin This will not delete or harm any of your installed apps since they are installed in .\pinokio\api The latest version of Pinokio provides fixes related to conda and your base environment. Please install the latest version from here program.pinokio delete .\pinokio\bin and try to install your app again. This should fix the majority of these issues.

takimdigital commented 3 months ago

I finally fixed the issue. Here's what worked for me:

  1. Remove the Existing Installation:

    • Delete the folder D:\pinokio\bin\miniconda (or C:\pinokio\bin\miniconda if that’s where you installed it).
  2. Download this version of Miniconda:

  3. Install Miniconda:

    • During the installation, make sure to keep the original path as D:\pinokio\bin\miniconda (or C:\pinokio\bin\miniconda). Do not change it to D:\pinokio\bin\miniconda3 or any other name.
  4. Set Up the PATH Environment Variable:

    • Open System Properties:
      • Press Win + R, type sysdm.cpl, and press Enter.
    • Navigate to Environment Variables:
      • In the System Properties window, go to the Advanced tab.
      • Click on Environment Variables.
    • Edit the PATH Variable:
      • If you're setting this up for your user account, select the Path variable under User Variables for <YourUsername>.
      • If you want to set this up for all users, select the Path variable under System Variables.
    • Add the Miniconda Paths:
      • Click on New and add the following paths one by one:
      • D:\pinokio\bin\miniconda\
      • D:\pinokio\bin\miniconda\Scripts\
      • D:\pinokio\bin\miniconda\Library\bin\ (if needed)
      • If you installed Miniconda in C:\, replace D:\ with C:\ in the above paths.
    • Save the Changes:
      • Click OK to close the Edit Environment Variable dialog.
      • Click OK to close the Environment Variables window.
      • Click OK to close the System Properties window.
  5. Restart Your Computer:

    • Restart your computer to ensure the changes take effect.
  6. Test the Installation:

    • Open Command Prompt and type conda --version to verify that Miniconda is correctly installed and functioning.
richiepic commented 2 months ago

I had the same issue with the installation as I changed all of the paths to a different drive including the default one (home). Then I left pinokio on the default location but the rest of the links went to another drive. (Advance settings)