Open sajeelshukla opened 4 months ago
Try one of the tested Python versions for this, 3.5 to 3.7.
Thank you will try 3.7 :)
On Mon, May 20, 2024 at 11:51 AM Marcus Ottosson @.***> wrote:
Try one of the tested Python versions for this, 3.5 to 3.7.
- https://github.com/mottosso/allzpark/blob/master/azure-pipelines.yml#L35
— Reply to this email directly, view it on GitHub https://github.com/mottosso/allzpark/issues/152#issuecomment-2119749737, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAMBPUYY3EKHK57M47SOTTZDGI77AVCNFSM6AAAAABH6UKJJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZG42DSNZTG4 . You are receiving this because you authored the thread.Message ID: @.***>
hi @mottosso So i ran into a problem. The pipeline i am creating is using mysql database and downgrading python to 3.7 i am unable to use my exisiting scritps that use mysql as it says missing module msqldb i scowered the net but it seems it just does not woth with 3.7 on windows.
Is there some other way where i can fix the install problem with my current setup ?
There's no need to use the same Python with allzpark as you do anywhere else, put a sandboxed Python install in a folder near allzpark and use it exclusively to launch and use allzpark.
Hi like the title says it gets stuck at rez bind --quickstart. Not sure what to do. Here's the log. P.s I am using windows cmd prompt as admin Thank you in advance for the help :) I hope to impliment this in my pipeline soon
`C:\WINDOWS\system32>python -m pip install allzpark --upgrade Requirement already satisfied: allzpark in c:\users\titanws\appdata\local\programs\python\python311\lib\site-packages (1.2.84) Collecting allzpark Using cached allzpark-1.3.129-py2.py3-none-any.whl.metadata (1.2 kB) Requirement already satisfied: bleeding-rez>=2.38.2 in c:\users\titanws\appdata\local\programs\python\python311\lib\site-packages (from allzpark) (2.40.5) Requirement already satisfied: allzparkdemo>=1 in c:\users\titanws\appdata\local\programs\python\python311\lib\site-packages (from allzpark) (1.0.23) INFO: pip is looking at multiple versions of allzpark to determine which version is compatible with other requirements. This could take a while. Using cached allzpark-1.3.67-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.3.41-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.3.31-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.3.28-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.3.5-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.3.3-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.3.0-py2.py3-none-any.whl.metadata (1.2 kB) INFO: pip is still looking at multiple versions of allzpark to determine which version is compatible with other requirements. This could take a while. Using cached allzpark-1.2.208-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.183-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.179-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.177-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.164-py2.py3-none-any.whl.metadata (1.2 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. Using cached allzpark-1.2.162-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.148-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.147-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.145-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.141-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.140-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.130-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.128-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.106-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.103-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.102-py2.py3-none-any.whl.metadata (1.2 kB) Using cached allzpark-1.2.92-py2.py3-none-any.whl.metadata (1.2 kB)
C:\WINDOWS\system32>rez bind --quickstart Traceback (most recent call last): File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\logging\config.py", line 149, in _install_handlers klass = eval(klass, vars(logging)) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1, in
NameError: name 'rez' is not defined. Did you mean: 're'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\logging\config.py", line 104, in _resolve found = getattr(found, n) ^^^^^^^^^^^^^^^^^ AttributeError: module 'rez.utils' has no attribute 'colorize'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Scripts\rez.exe__main.py", line 4, in
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\site-packages\rez__init.py", line 20, in
logging.config.fileConfig(logging_conf_file, disable_existing_loggers=False)
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\logging\config.py", line 90, in fileConfig
handlers = _install_handlers(cp, formatters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\logging\config.py", line 151, in _install_handlers
klass = _resolve(klass)
^^^^^^^^^^^^^^^
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\logging\config.py", line 106, in _resolve
import__(used)
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\site-packages\rez\utils\colorize.py", line 5, in
from rez.config import config
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\site-packages\rez\config.py", line 2, in
from rez.utils.data_utils import AttrDictWrapper, RO_AttrDictWrapper, \
File "C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\site-packages\rez\utils\data_utils.py", line 7, in
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Users\TitanWs\AppData\Local\Programs\Python\Python311\Lib\collections\ init__.py)
C:\WINDOWS\system32>allzpark --demo --clean`