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

Dependency issue #1

Open
vishnusharma03 opened this issue Nov 7, 2023 · 1 comment
Open

Dependency issue #1

vishnusharma03 opened this issue Nov 7, 2023 · 1 comment

Comments

@vishnusharma03
Copy link

Collecting Mako (from alembic->optuna==2.10.0->-r requirements.txt (line 4))
Using cached Mako-1.2.4-py3-none-any.whl (78 kB)
Using cached Mako-1.2.3-py3-none-any.whl (78 kB)
Using cached Mako-1.2.2-py3-none-any.whl (78 kB)
Using cached Mako-1.2.1-py3-none-any.whl (78 kB)
Using cached Mako-1.2.0-py3-none-any.whl (78 kB)
Using cached Mako-1.1.6-py2.py3-none-any.whl (75 kB)
Using cached Mako-1.1.5-py2.py3-none-any.whl (75 kB)
Using cached Mako-1.1.4-py2.py3-none-any.whl (75 kB)
Using cached Mako-1.1.3-py2.py3-none-any.whl (75 kB)
Using cached Mako-1.1.2-py2.py3-none-any.whl (75 kB)
Using cached Mako-1.1.1.tar.gz (468 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.1.0.tar.gz (463 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.14.tar.gz (462 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.13.tar.gz (460 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.12.tar.gz (460 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.11.tar.gz (461 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.10.tar.gz (460 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.9.tar.gz (459 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.8.tar.gz (468 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.7.tar.gz (564 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.6.tar.gz (575 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.5.tar.gz (574 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.4.tar.gz (574 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.3.tar.gz (565 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.2.tar.gz (564 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.1.tar.gz (473 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-1.0.0.tar.gz (470 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-0.9.1.tar.gz (421 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-0.9.0.tar.gz (420 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-0.8.1.tar.gz (407 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-0.8.0.tar.gz (407 kB)
Preparing metadata (setup.py) ... done
Using cached Mako-0.7.3.tar.gz (401 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in Mako setup command: use_2to3 is invalid.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.

While installing the requirements, I am getting this error even I am using a virtual environment,
Can anyone explain how to resolve the issue?

@ashutosh1619
Copy link

install all the packages with given versions listed in requirements.txt one by one, do not use pip install -r requirements.txt
Also change markupsafe==2.1.

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