aelfakih / Manage-Chia-Farm

Manage-Chia-Farm (MCF) is a menu-driven-program, written in python for windows 10, which allows Chia crypto farmers to move, migrate, overwrite, verify and manage OG and NFT plots.
Apache License 2.0
15 stars 1 forks source link

Script crashing at initial launch after new install #4

Closed JerkyChew899 closed 2 years ago

JerkyChew899 commented 2 years ago

Python 3.10, Windows 2022. I've modified the config files and installed the prerequisites. When trying to launch manage-chia-farm.py I receive the following errors and am not sure where the issue is:

C:\Users\chia\Manage-Chia-Farm>manage-chia-farm.py Traceback (most recent call last): File "C:\Users\chia\Manage-Chia-Farm\manage-chia-farm.py", line 27, in from helpers import File "C:\Users\chia\Manage-Chia-Farm\helpers.py", line 9, in from PyInquirer import style_from_dict, Token, prompt File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\PyInquirer__init.py", line 6, in from prompt_toolkit.token import Token File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit__init__.py", line 16, in from .interface import CommandLineInterface File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit\interface.py", line 19, in from .application import Application, AbortAction File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit\application.py", line 8, in from .key_binding.bindings.basic import load_basic_bindings File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit\key_binding\bindings\basic.py", line 9, in from prompt_toolkit.renderer import HeightIsUnknownError File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit\renderer.py", line 11, in from prompt_toolkit.styles import Style File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit\styles\init__.py", line 8, in from .from_dict import File "C:\Users\chia\AppData\Roaming\Python\Python310\site-packages\prompt_toolkit\styles\from_dict.py", line 9, in from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (C:\Program Files\Python310\lib\collections__init__.py)

aelfakih commented 2 years ago

Looks like something is not installed. Did you resolve the issue? Did you follow the installation steps?

JerkyChew899 commented 2 years ago

I did. I went back and reinstalled Python, then re-downloaded the items and re-ran the prereqs install. Same issue. I suppose I could try fully uninstalling and reinstalling Python to see if I missed something.

aelfakih commented 2 years ago

I'm guessing it has to do with the way python environment variables are handled in windows 2022 as compared to windows 10. I have not tried it on that version of windows. On Dec 9, 2021, 8:30 AM -0500, JerkyChew899 @.***>, wrote:

I did. I went back and reinstalled Python, then re-downloaded the items and re-ran the prereqs install. Same issue. I suppose I could try fully uninstalling and reinstalling Python to see if I missed something. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

aelfakih commented 2 years ago

I will close this report since at this time I am not supporting windows 2022. I do not have a license for it. I will keep this version of windows in mind and if I get the chance to install it, I will support it as well. My apologies.