Não foi possível localizar no registro do Windows (10)

0

Pergunta

Eu estou correndo AnyPyTools como um pacote em uma Anaconda ambiente. Quando eu tento executar o primeiro comando do AnyPyTools "introdução" jupyter notebook, eu recebo um erro que diz "não conseguiu localizar Ninguém no registro". Idéias sobre como lidar com isso?

Eu tentei desinstalar e re-instalar AnyPyTools, com uma parada no meio, mas continuam a receber o mesmo erro. Também, eu não consigo encontrar um separado Ninguém python pacote para instalar.

Informações de versão:

  • conda versão : 4.10.3 conda-versão de compilação : 3.21.6
  • versão do python : 3.8.12.a final.0
  • anypytools: versão = 1.7.5 construir=py38haa244fe_1 canal=conda-forge
  • Windows Versão 10 = 10.0.18363 Construir = 18363

código

(a partir de http://localhost:8888/notebooks/01_Getting_started_with_anypytools.ipynb)

from anypytools import AnyPyProcess 
    app = AnyPyProcess()

Mensagem de erro:

 OSError: Could not locate AnyBody in registry

Rastreamento:

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
~\Anaconda3\lib\site-packages\anypytools\tools.py in get_anybodycon_path()
    461     try:
--> 462         abpath = winreg.QueryValue(
    463             winreg.HKEY_CLASSES_ROOT, "AnyBody.AnyScript\\shell\\open\\command"

FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

OSError                                   Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_11000/586603320.py in <module>
      1 from anypytools import AnyPyProcess
----> 2 app = AnyPyProcess()

~\Anaconda3\lib\site-packages\anypytools\abcutils.py in __init__(self, num_processes, anybodycon_path, timeout, silent, ignore_errors, warnings_to_include, fatal_warnings, return_task_info, keep_logfiles, logfile_prefix, python_env, debug_mode, use_gui, priority, **kwargs)
    537 
    538         if anybodycon_path is None:
--> 539             anybodycon_path = get_anybodycon_path()
    540         anybodycon_path = Path(anybodycon_path)
    541         if use_gui:

~\Anaconda3\lib\site-packages\anypytools\tools.py in get_anybodycon_path()
    464         )
    465     except WindowsError:
--> 466         raise WindowsError("Could not locate AnyBody in registry")
    467     abpath = abpath.rsplit(" ", 1)[0].strip('"')
    468     abpath = os.path.join(os.path.dirname(abpath), "AnyBodyCon.exe")

OSError: Could not locate AnyBody in registry
anaconda python registry windows
2021-11-19 19:32:56
1

Melhor resposta

0

A resposta é que isso não funciona, porque ele requer um sperate instalar qualquer software que requer uma licença paga.

2021-11-19 21:51:23

Em outros idiomas

Esta página está em outros idiomas

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................