Dear, Mark:
after install the verion 57.1, it is working now!Thanks for support and advice!
Collecting stompest==2.3.0
Using cached stompest-2.3.0.tar.gz (38 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/d6/tk_pj2q52wv89jf4xdtcmyyc0000gn/T/pip-download-1rm2g4a8/stompest_fe21a0fee0e24dd782c7213b6d0045b9/setup.py", line 7, in <module>
from stompest import FULL_VERSION
ImportError: cannot import name 'FULL_VERSION' from 'stompest' (unknown location)
[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.
hint: See above for details.
pip % pip uninstall stompest
Found existing installation: stompest 2.3.0
Uninstalling stompest-2.3.0:
Would remove:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest-2.3.0-py3.11-nspkg.pth
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest-2.3.0.dist-info/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/_backwards/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/config/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/error/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/protocol/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/sync/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/tests/*
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/stompest/util/*
Proceed (Y/n)? y
Successfully uninstalled stompest-2.3.0
% pip install "setuptools<57.2"
Collecting setuptools<57.2
Downloading setuptools-57.1.0-py3-none-any.whl (818 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 818.9/818.9 kB 506.1 kB/s eta 0:00:00
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 65.5.1
Uninstalling setuptools-65.5.1:
Successfully uninstalled setuptools-65.5.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
resilient-circuits 48.0.4034 requires stompest~=2.3, which is not installed.
resilient 48.0.4034 requires setuptools~=65.5.1; python_version > "3.6", but you have setuptools 57.1.0 which is incompatible.
Successfully installed setuptools-57.1.0
pip % pip download --use-deprecated=legacy-resolver stompest
Collecting stompest
Using cached stompest-2.3.0.tar.gz (38 kB)
Preparing metadata (setup.py) ... done
Saved ./stompest-2.3.0.tar.gz
Successfully downloaded stompest
pip % pip3 download -r requirements.txt
Collecting beautifulsoup4==4.11.2
Using cached beautifulsoup4-4.11.2-py3-none-any.whl (129 kB)
Collecting cachetools==5.3.0
Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting certifi==2022.12.7
Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting cffi==1.15.1
Using cached cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl (179 kB)
Collecting charset-normalizer==3.1.0
Using cached charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl (123 kB)
Collecting circuits==3.2.2
Using cached circuits-3.2.2-py2.py3-none-any.whl (166 kB)
Collecting cryptography==39.0.2
Using cached cryptography-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl (2.9 MB)
Collecting decorator==5.1.1
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting Deprecated==1.2.13
Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)
Collecting filelock==3.10.0
Using cached filelock-3.10.0-py3-none-any.whl (9.9 kB)
Collecting idna==3.4
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting importlib-metadata==6.0.0
Using cached importlib_metadata-6.0.0-py3-none-any.whl (21 kB)
Collecting jaraco.classes==3.2.3
Using cached jaraco.classes-3.2.3-py3-none-any.whl (6.0 kB)
Collecting Jinja2==3.1.2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting jwcrypto==1.4.2
Using cached jwcrypto-1.4.2.tar.gz (85 kB)
Preparing metadata (setup.py) ... done
Collecting keyring==23.13.1
Using cached keyring-23.13.1-py3-none-any.whl (37 kB)
Collecting MarkupSafe==2.1.2
Using cached MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_x86_64.whl (13 kB)
Collecting more-itertools==9.1.0
Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB)
Collecting pycparser==2.21
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting PySocks==1.7.1
Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting pytz==2022.7.1
Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB)
Collecting requests==2.28.2
Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Collecting requests-toolbelt==0.10.1
Using cached requests_toolbelt-0.10.1-py2.py3-none-any.whl (54 kB)
Collecting resilient==48.0.4034
Using cached resilient-48.0.4034-py3-none-any.whl (41 kB)
Collecting resilient-circuits==48.0.4034
Using cached resilient_circuits-48.0.4034-py2.py3-none-any.whl (77 kB)
Collecting resilient-lib==48.0.4034
Using cached resilient_lib-48.0.4034-py3-none-any.whl (45 kB)
Collecting retry2==0.9.5
Using cached retry2-0.9.5-py2.py3-none-any.whl (6.0 kB)
Collecting six==1.16.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting soupsieve==2.4
Using cached soupsieve-2.4-py3-none-any.whl (37 kB)
Collecting stompest==2.3.0
File was already downloaded /Users/zhenglei/PIP/stompest-2.3.0.tar.gz
Preparing metadata (setup.py) ... done
Collecting urllib3==1.26.15
Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
Collecting watchdog==2.3.1
Using cached watchdog-2.3.1-cp311-cp311-macosx_10_9_x86_64.whl (89 kB)
Collecting wrapt==1.15.0
Using cached wrapt-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl (35 kB)
Collecting zipp==3.15.0
Using cached zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting setuptools~=65.5.1
Using cached setuptools-65.5.1-py3-none-any.whl (1.2 MB)
Saved ./beautifulsoup4-4.11.2-py3-none-any.whl
Saved ./cachetools-5.3.0-py3-none-any.whl
Saved ./certifi-2022.12.7-py3-none-any.whl
Saved ./cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl
Saved ./charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Saved ./circuits-3.2.2-py2.py3-none-any.whl
Saved ./cryptography-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl
Saved ./decorator-5.1.1-py3-none-any.whl
Saved ./Deprecated-1.2.13-py2.py3-none-any.whl
Saved ./filelock-3.10.0-py3-none-any.whl
Saved ./idna-3.4-py3-none-any.whl
Saved ./importlib_metadata-6.0.0-py3-none-any.whl
Saved ./jaraco.classes-3.2.3-py3-none-any.whl
Saved ./Jinja2-3.1.2-py3-none-any.whl
Saved ./jwcrypto-1.4.2.tar.gz
Saved ./keyring-23.13.1-py3-none-any.whl
Saved ./MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_x86_64.whl
Saved ./more_itertools-9.1.0-py3-none-any.whl
Saved ./pycparser-2.21-py2.py3-none-any.whl
Saved ./PySocks-1.7.1-py3-none-any.whl
Saved ./pytz-2022.7.1-py2.py3-none-any.whl
Saved ./requests-2.28.2-py3-none-any.whl
Saved ./requests_toolbelt-0.10.1-py2.py3-none-any.whl
Saved ./resilient-48.0.4034-py3-none-any.whl
Saved ./resilient_circuits-48.0.4034-py2.py3-none-any.whl
Saved ./resilient_lib-48.0.4034-py3-none-any.whl
Saved ./retry2-0.9.5-py2.py3-none-any.whl
Saved ./six-1.16.0-py2.py3-none-any.whl
Saved ./soupsieve-2.4-py3-none-any.whl
Saved ./urllib3-1.26.15-py2.py3-none-any.whl
Saved ./watchdog-2.3.1-cp311-cp311-macosx_10_9_x86_64.whl
Saved ./wrapt-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl
Saved ./zipp-3.15.0-py3-none-any.whl
Saved ./setuptools-65.5.1-py3-none-any.whl
Successfully downloaded beautifulsoup4 cachetools certifi cffi charset-normalizer circuits cryptography decorator Deprecated filelock idna importlib-metadata jaraco.classes Jinja2 jwcrypto keyring MarkupSafe more-itertools pycparser PySocks pytz requests requests-toolbelt resilient resilient-circuits resilient-lib retry2 six soupsieve stompest urllib3 watchdog wrapt zipp setuptools
------------------------------
Lei Zheng
------------------------------
Original Message:
Sent: Tue March 14, 2023 11:47 AM
From: Mark Scherfling
Subject: resilient-circuits offline only
Hi Lei,
I did some research and this issue appears to be related to the latest versions of the python package 'setuptools'. The general solution is to install an older version (<=57.5.0) in order to complete the download. Because of dependencies with other components installed, such as the resilient package, I wasn't able to downgrade setuptools straight away. So I used virtualenv in order to sandbox an environment which allowed me to complete the process.
Here are the steps I performed (I'm on a Mac and your environment may require slight variations on these steps) :
$ virtualenv stompest
$ cd stompest
$ source bin/activate
$ pip install "setuptools<57.2"
$ pip download --use-deprecated=legacy-resolver stompest
This process failed if stompest was already pip installed. That was rectified by running 'pip uninstall stompest'.
Good luck,
Mark
------------------------------
Mark Scherfling
Original Message:
Sent: Sun March 12, 2023 01:03 AM
From: Lei Zheng
Subject: resilient-circuits offline only
resilient-circuits
Dear all:
I want to use mac os ,download resilient-circuits offline package.
Downloading Resilient Circuits (offline only)
Ibm |
remove preview |
|
Downloading Resilient Circuits (offline only) |
If your integration server is not connected to the Internet, follow this procedure to download the Resilient Circuits package. |
View this on Ibm > |
|
|
step 6, here some error message
pip3 download -r requirements.txt
% pip3 download -r requirements.txtCollecting beautifulsoup4==4.11.2 Using cached beautifulsoup4-4.11.2-py3-none-any.whl (129 kB)Collecting cachetools==5.3.0 Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)Collecting certifi==2022.12.7 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)Collecting cffi==1.15.1 Using cached cffi-1.15.1-cp311-cp311-macosx_10_9_x86_64.whl (179 kB)Collecting charset-normalizer==3.1.0 Using cached charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl (123 kB)Collecting circuits==3.2.2 Using cached circuits-3.2.2-py2.py3-none-any.whl (166 kB)Collecting cryptography==39.0.2 Using cached cryptography-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl (2.9 MB)Collecting decorator==5.1.1 Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)Collecting Deprecated==1.2.13 Using cached Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB)Collecting filelock==3.9.0 Using cached filelock-3.9.0-py3-none-any.whl (9.7 kB)Collecting idna==3.4 Using cached idna-3.4-py3-none-any.whl (61 kB)Collecting importlib-metadata==6.0.0 Using cached importlib_metadata-6.0.0-py3-none-any.whl (21 kB)Collecting jaraco.classes==3.2.3 Using cached jaraco.classes-3.2.3-py3-none-any.whl (6.0 kB)Collecting Jinja2==3.1.2 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)Collecting jwcrypto==1.4.2 Using cached jwcrypto-1.4.2.tar.gz (85 kB) Preparing metadata (setup.py) ... doneCollecting keyring==23.13.1 Using cached keyring-23.13.1-py3-none-any.whl (37 kB)Collecting MarkupSafe==2.1.2 Using cached MarkupSafe-2.1.2-cp311-cp311-macosx_10_9_x86_64.whl (13 kB)Collecting more-itertools==9.1.0 Using cached more_itertools-9.1.0-py3-none-any.whl (54 kB)Collecting pycparser==2.21 Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)Collecting PySocks==1.7.1 Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)Collecting pytz==2022.7.1 Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB)Collecting requests==2.28.2 Using cached requests-2.28.2-py3-none-any.whl (62 kB)Collecting requests-toolbelt==0.10.1 Using cached requests_toolbelt-0.10.1-py2.py3-none-any.whl (54 kB)Collecting resilient==48.0.4034 Using cached resilient-48.0.4034-py3-none-any.whl (41 kB)Collecting resilient-circuits==48.0.4034 Using cached resilient_circuits-48.0.4034-py2.py3-none-any.whl (77 kB)Collecting resilient-lib==48.0.4034 Using cached resilient_lib-48.0.4034-py3-none-any.whl (45 kB)Collecting retry2==0.9.5 Using cached retry2-0.9.5-py2.py3-none-any.whl (6.0 kB)Collecting six==1.16.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)Collecting soupsieve==2.4 Using cached soupsieve-2.4-py3-none-any.whl (37 kB)Collecting stompest==2.3.0 Using cached stompest-2.3.0.tar.gz (38 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/private/var/folders/d6/tk_pj2q52wv89jf4xdtcmyyc0000gn/T/pip-download-xdp9jwkd/stompest_df9db35ebbe5432a83773277f9ce66eb/setup.py", line 7, in <module> from stompest import FULL_VERSION ImportError: cannot import name 'FULL_VERSION' from 'stompest' (unknown location) [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.hint: See above for details.
please advice about step 4 , 5, 6. Thanks!
------------------------------
Lei Zheng
------------------------------