0

I am running in the the below issue when I tried to install

pip install -r build-requirments.txt

I have the following environment setup:

  • pybuilder==0.13.8
  • pip==22.1.2
  • pip-tools
pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
      Looking in indexes: https://nexus3.noname.info/repository/pypigroup/simple
      Collecting setuptools>=40.6.0
        Using cached https://nexus3.noname.info/repository/pypigroup/packages/setuptools/67.6.0/setuptools-67.6.0-py3-none-any.whl (1.1 MB)
      Collecting wheel
        Using cached https://nexus3.noname.info/repository/pypigroup/packages/wheel/0.40.0/wheel-0.40.0-py3-none-any.whl (64 kB)
      Collecting cython
        Downloading https://nexus3.noname.info/repository/pypigroup/packages/cython/0.29.33/Cython-0.29.33-py2.py3-none-any.whl (987 kB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 987.3/987.3 kB 2.3 MB/s eta 0:00:00
      Collecting pyarrow<6.1.0,>=6.0.0
        Downloading https://nexus3.noname.info/repository/pypigroup/packages/pyarrow/6.0.1/pyarrow-6.0.1.tar.gz (770 kB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 770.7/770.7 kB 2.3 MB/s eta 0:00:00
        Installing build dependencies: started
        Installing build dependencies: finished with status 'error'
        error: subprocess-exited-with-error
      
        × pip subprocess to install build dependencies did not run successfully.
        │ exit code: 1
        ╰─> [9 lines of output]
            Looking in indexes: https://nexus3.noname.info/repository/pypigroup/simple
            Ignoring numpy: markers 'python_version < "3.8"' don't match your environment
            Ignoring numpy: markers 'python_version == "3.8"' don't match your environment
            Ignoring numpy: markers 'python_version == "3.9"' don't match your environment
            Collecting cython>=0.29
              Using cached https://nexus3.noname.info/repository/pypigroup/packages/cython/0.29.33/Cython-0.29.33-py2.py3-none-any.whl (987 kB)
            ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
            ERROR: Could not find a version that satisfies the requirement numpy==1.21.3 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0rc1, 1.23.0rc2, 1.23.0rc3, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0rc1, 1.24.0rc2, 1.24.0, 1.24.1, 1.24.2)
            ERROR: No matching distribution found for numpy==1.21.3
            [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: subprocess-exited-with-error
      
      × pip subprocess to install build dependencies did not run successfully.
      │ exit code: 1
      ╰─> See above for output.
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

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

The build-requirments.txt has the following

analytics-pyutils==1.4.0
asn1crypto==1.2.0
aws-xray-sdk==0.95
bcrypt==4.0.0
boto3==1.14.63
botocore==1.17.63
certifi==2019.3.9
cffi==1.15.1
chardet==3.0.4
cryptography==38.0.4
docker==3.7.2
docker-pycreds==0.4.0
docutils==0.15.2
ecdsa==0.13
future==0.17.1
idna==2.8
ijson==2.3
jinja2==3.0.1
jmespath==0.10.0
jsondiff==1.1.1
jsonpickle==1.1
markupsafe==2.0.1
mock==2.0.0
moto==1.3.7
oscrypto==1.1.0
paramiko==2.11.0
pbr==5.1.3
pyaml==18.11.0
pycparser==2.21
pycryptodome==3.8.0
pycryptodomex==3.8.1
pyjwt==1.7.1
pynacl==1.5.0
pyopenssl>22.1.0
python-dateutil==2.8.2
python-jose==2.0.2
pytz==2019.1
pyyaml==5.1
requests==2.28.1
responses==0.10.6
s3transfer==0.3.7
six==1.16.0
snowflake-connector-python==2.7.8
urllib3==1.25.11
websocket-client==0.56.0
werkzeug==0.15.2
wrapt==1.11.1
xmltodict==0.12.0

When I run pyb I am getting the below

BUILD FAILED - Unable to install dependency packages into /Users/kaltaie/PycharmProjects/capdllambdas/bigdata-gdpr-obfuscation/target/venv/build/cpython-3.11.2.final.0. Please see '/Users/kaltaie/PycharmProjects/capdllambdas/bigdata-gdpr-obfuscation/target/logs/install_dependencies/venv_build_install_logs' for full details:
                    [end of output]
              
                note: This error originates from a subprocess, and is likely not a problem with pip.
              error: subprocess-exited-with-error
              
              × pip subprocess to install build dependencies did not run successfully.
              │ exit code: 1
              ╰─> See above for output.
              
              note: This error originates from a subprocess, and is likely not a problem with pip.
              [end of output]
          
          note: This error originates from a subprocess, and is likely not a problem with pip.
        error: subprocess-exited-with-error
        
        × pip subprocess to install build dependencies did not run successfully.
        │ exit code: 1
        ╰─> See above for output.
        
        note: This error originates from a subprocess, and is likely not a problem with pip.
         (pybuilder/install_utils.py:100)

Any thoughts/suggestions on the above.

Thanks in advance

Rahman
  • 101
  • 1
  • 12

0 Answers0