ฉันกำลัง AnyPyTools เป็นห่อของใน Anaconda สภาพแวดล้อม. ตอนที่ฉันพยายามจะหนีคนแรกที่ออกคำสั่งของ AnyPyTools"จะเริ่มขึ้น"jupyter สมุดบันทึกไว้ฉันเข้าใจข้อผิดพลาดเกิดขึ้นระหว่างนั้นบอกว่า"ไม่สามารถหาใครในลงชื่อ". มีวิธีในการจัดการกับมัน?
ฉันพยายามกำลังถอนการติดตั้ง&ส่งกำลังติดตั้ง AnyPyTools กับอาคารผู้โดยสารคงถูกปิดอยู่ในระหว่างแต่ยังคงได้เหมือนข้อผิดพลาด ฉันยังไม่สามารถหาแยกออกมีใครเป็นภาษาไพธอนที่จะติดตั้งแพกเกจ.
รุ่นของข้อมูล:
- conda รุ่น:4.10.3 conda-สร้างเวอร์ชั่น:3.21.6
- ปลั๊กอินสำหรับไพธอนรุ่น:3.8.12.สุดท้าย0
- anypytools:เวอร์ชั่น=1.7.5 สร้าง=py38haa244fe_1 ช่อง=conda-ปลอม
- หน้าต่างต่างๆ 10 รุ่นของ=10.0.18363 สร้าง=18363
รหัส
(จาก http://localhost:8888/notebooks/01_Getting_started_with_anypytools.ipynb)
from anypytools import AnyPyProcess
app = AnyPyProcess()
เกิดข้อผิดพลาดข้อความ:
OSError: Could not locate AnyBody in registry
ร่องรอย:
---------------------------------------------------------------------------
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