Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem while installing. Breaks at rez bind --quiickstart | windows 10 64 bit #152

Open
sajeelshukla opened this issue May 19, 2024 · 4 comments

Comments

@sajeelshukla
Copy link

sajeelshukla commented May 19, 2024

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`

@mottosso
Copy link
Owner

mottosso commented May 20, 2024

Try one of the tested Python versions for this, 3.5 to 3.7.

@sajeelshukla
Copy link
Author

sajeelshukla commented May 20, 2024 via email

@sajeelshukla
Copy link
Author

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 ?

@mottosso
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants