pacu icon indicating copy to clipboard operation
pacu copied to clipboard

requirements error during installation

Open mastercho opened this issue 2 years ago • 1 comments

I'm getting this error when I try to install pacu with bash install.sh or pip install -U pacu in windows, using python 3.10 and python 3.9

Same error as in https://github.com/RhinoSecurityLabs/pacu/issues/315

Collecting pacu
  Downloading pacu-1.1.0-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 1.0 MB/s eta 0:00:00
Collecting SQLAlchemy<1.4.0,>=1.3.0
  Downloading SQLAlchemy-1.3.24-cp39-cp39-win_amd64.whl (1.2 MB)
     ---------------------------------------- 1.2/1.2 MB 815.4 kB/s eta 0:00:00
Collecting botocore<2.0,>=1.16
  Downloading botocore-1.27.12-py3-none-any.whl (8.9 MB)
     ---------------------------------------- 8.9/8.9 MB 833.8 kB/s eta 0:00:00
Requirement already satisfied: requests<3.0.0,>=2.25.1 in c:\users\mthserver\appdata\local\programs\python\python39\lib\site-packages (from pacu) (2.25.1)
Collecting awscli<2.0,>=1.18
  Downloading awscli-1.25.12-py3-none-any.whl (3.9 MB)
     ---------------------------------------- 3.9/3.9 MB 908.0 kB/s eta 0:00:00
Collecting pacu
  Downloading pacu-1.0.4-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 912.9 kB/s eta 0:00:00
  Downloading pacu-1.0.3-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 971.0 kB/s eta 0:00:00
  Downloading pacu-1.0.2-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 836.8 kB/s eta 0:00:00
  Downloading pacu-1.0.0-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 743.7 kB/s eta 0:00:00
  Downloading pacu-0.1.15-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 827.9 kB/s eta 0:00:00
  Downloading pacu-0.1.14-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 847.8 kB/s eta 0:00:00
  Downloading pacu-0.1.13-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 826.4 kB/s eta 0:00:00
  Downloading pacu-0.1.12-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 915.4 kB/s eta 0:00:00
  Downloading pacu-0.1.11-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 844.5 kB/s eta 0:00:00
  Downloading pacu-0.1.10-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 937.7 kB/s eta 0:00:00
  Downloading pacu-0.1.9-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 940.4 kB/s eta 0:00:00
  Downloading pacu-0.1.2-py3-none-any.whl (12.1 MB)
     ---------------------------------------- 12.1/12.1 MB 1.0 MB/s eta 0:00:00
ERROR: Cannot install pacu==0.1.10, pacu==0.1.11, pacu==0.1.12, pacu==0.1.13, pacu==0.1.14, pacu==0.1.15, pacu==0.1.2, pacu==0.1.9, pacu==1.0.0, pacu==1.0.2, pacu==1.0.3, pacu==1.0.4 and pacu==1.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    pacu 1.1.0 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 1.0.4 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 1.0.3 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 1.0.2 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 1.0.0 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.15 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.14 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.13 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.12 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.11 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.10 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.9 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8
    pacu 0.1.2 depends on SQLAlchemy-Utils<0.37.0 and >=0.36.8

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

mastercho avatar Jun 19 '22 18:06 mastercho

SQLAlchemy-Utils<0.37.0 and >=0.36.8 no longer exists. Those versions were yanked so Pacu needs a general dependency update. https://pypi.org/project/SQLAlchemy-Utils/#history

daddycocoaman avatar Jun 27 '22 01:06 daddycocoaman

Getting same error, no resolution found yet

soumynaman avatar Aug 29 '22 14:08 soumynaman