Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

MacOS ,When install dydx-python ,encounter some ERRORS , how to solve the problem? A lot thanks. #3478

Open
Victor20082018 opened this issue Oct 17, 2023 · 0 comments

Comments

@Victor20082018
Copy link

pip install dydx-python
Collecting dydx-python
Downloading dydx_python-0.11.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 216.3 kB/s eta 0:00:00
Collecting eth-keys
Downloading eth_keys-0.4.0-py3-none-any.whl (21 kB)
Collecting requests-mock==1.6.0
Downloading requests_mock-1.6.0-py2.py3-none-any.whl (22 kB)
Collecting requests==2.22.0
Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 kB 591.7 kB/s eta 0:00:00
Collecting tox==3.13.2
Downloading tox-3.13.2-py2.py3-none-any.whl (80 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 kB 843.7 kB/s eta 0:00:00
Collecting setuptools<51.0.0,>=41.0.1
Downloading setuptools-50.3.2-py3-none-any.whl (785 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 785.2/785.2 kB 1.9 MB/s eta 0:00:00
Collecting pytest<5.0.0,>=4.4.0
Downloading pytest-4.6.11-py2.py3-none-any.whl (231 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 231.6/231.6 kB 2.1 MB/s eta 0:00:00
Collecting web3<6.0.0,>=5.0.0
Downloading web3-5.31.4-py3-none-any.whl (502 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.8/502.8 kB 5.4 MB/s eta 0:00:00
Requirement already satisfied: six<2,>=1.12 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from dydx-python) (1.16.0)
Collecting eth-account<0.6.0,>=0.4.0
Downloading eth_account-0.5.9-py3-none-any.whl (101 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 4.4 MB/s eta 0:00:00
Requirement already satisfied: certifi>=2017.4.17 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from requests==2.22.0->dydx-python) (2022.12.7)
Collecting idna<2.9,>=2.5
Downloading idna-2.8-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 kB 5.6 MB/s eta 0:00:00
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.0/128.0 kB 3.6 MB/s eta 0:00:00
Collecting chardet<3.1.0,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 3.8 MB/s eta 0:00:00
Collecting virtualenv>=14.0.0
Downloading virtualenv-20.24.5-py3-none-any.whl (3.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 6.1 MB/s eta 0:00:00
Collecting importlib-metadata<1,>=0.12
Downloading importlib_metadata-0.23-py2.py3-none-any.whl (28 kB)
Requirement already satisfied: packaging>=14 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from tox==3.13.2->dydx-python) (23.0)
Requirement already satisfied: filelock<4,>=3.0.0 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from tox==3.13.2->dydx-python) (3.9.0)
Collecting py<2,>=1.4.17
Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.7/98.7 kB 11.4 MB/s eta 0:00:00
Requirement already satisfied: toml>=0.9.4 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from tox==3.13.2->dydx-python) (0.10.2)
Collecting pluggy<1,>=0.12.0
Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting eth-abi<3,>=2.0.0b7
Downloading eth_abi-2.2.0-py3-none-any.whl (28 kB)
Collecting eth-keyfile<0.6.0,>=0.5.0
Downloading eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting eth-utils<2,>=1.3.0
Downloading eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting bitarray<3,>=1.2.1
Downloading bitarray-2.8.2-cp310-cp310-macosx_10_9_x86_64.whl (123 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 kB 6.3 MB/s eta 0:00:00
Collecting eth-keys
Downloading eth_keys-0.3.4-py3-none-any.whl (21 kB)
Collecting eth-rlp<2,>=0.1.2
Downloading eth_rlp-0.3.0-py3-none-any.whl (5.0 kB)
Collecting rlp<3,>=1.0.0
Downloading rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting hexbytes<1,>=0.1.0
Downloading hexbytes-0.3.1-py3-none-any.whl (5.9 kB)
Collecting eth-typing<3.0.0,>=2.2.1
Downloading eth_typing-2.3.0-py3-none-any.whl (6.2 kB)
Requirement already satisfied: attrs>=17.4.0 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from pytest<5.0.0,>=4.4.0->dydx-python) (22.1.0)
Collecting more-itertools>=4.0.0
Downloading more_itertools-10.1.0-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 4.7 MB/s eta 0:00:00
Collecting wcwidth
Downloading wcwidth-0.2.8-py2.py3-none-any.whl (31 kB)
Collecting atomicwrites>=1.0
Downloading atomicwrites-1.4.1.tar.gz (14 kB)
Preparing metadata (setup.py) ... done
Collecting lru-dict<2.0.0,>=1.1.6
Downloading lru_dict-1.2.0-cp310-cp310-macosx_10_9_x86_64.whl (9.8 kB)
Collecting aiohttp<4,>=3.7.4.post0
Downloading aiohttp-3.8.6-cp310-cp310-macosx_10_9_x86_64.whl (368 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 369.0/369.0 kB 5.2 MB/s eta 0:00:00
Collecting eth-rlp<2,>=0.1.2
Downloading eth_rlp-0.2.1-py3-none-any.whl (5.0 kB)
Collecting websockets<10,>=9.1
Downloading websockets-9.1.tar.gz (76 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.7/76.7 kB 3.1 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting protobuf==3.19.5
Downloading protobuf-3.19.5-py2.py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.7/162.7 kB 1.2 MB/s eta 0:00:00
Collecting eth-hash[pycryptodome]<1.0.0,>=0.2.0
Downloading eth_hash-0.5.2-py3-none-any.whl (8.6 kB)
Collecting ipfshttpclient==0.8.0a2
Downloading ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.6/82.6 kB 3.0 MB/s eta 0:00:00
Requirement already satisfied: jsonschema<5,>=3.2.0 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from web3<6.0.0,>=5.0.0->dydx-python) (4.17.3)
Collecting multiaddr>=0.0.7
Downloading multiaddr-0.0.9-py2.py3-none-any.whl (16 kB)
Collecting frozenlist>=1.1.1
Downloading frozenlist-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl (46 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.9/46.9 kB 5.2 MB/s eta 0:00:00
Collecting multidict<7.0,>=4.5
Downloading multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl (29 kB)
Collecting yarl<2.0,>=1.0
Downloading yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.7/65.7 kB 2.4 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from aiohttp<4,>=3.7.4.post0->web3<6.0.0,>=5.0.0->dydx-python) (2.0.4)
Collecting async-timeout<5.0,>=4.0.0a3
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting parsimonious<0.9.0,>=0.8.0
Downloading parsimonious-0.8.1.tar.gz (45 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.1/45.1 kB 4.6 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Collecting pycryptodome<4,>=3.6.6
Downloading pycryptodome-3.19.0-cp35-abi3-macosx_10_9_x86_64.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 6.7 MB/s eta 0:00:00
Collecting cytoolz<1.0.0,>=0.9.0
Downloading cytoolz-0.12.2-cp310-cp310-macosx_10_9_x86_64.whl (412 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 412.4/412.4 kB 6.4 MB/s eta 0:00:00
Collecting eth-utils<2,>=1.3.0
Downloading eth_utils-1.9.5-py3-none-any.whl (23 kB)
Collecting zipp>=0.5
Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from jsonschema<5,>=3.2.0->web3<6.0.0,>=5.0.0->dydx-python) (0.18.0)
Collecting platformdirs<4,>=3.9.1
Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
Collecting distlib<1,>=0.3.7
Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 6.8 MB/s eta 0:00:00
Collecting filelock<4,>=3.0.0
Downloading filelock-3.12.4-py3-none-any.whl (11 kB)
Requirement already satisfied: toolz>=0.8.0 in /Users/lisa/anaconda3/lib/python3.10/site-packages (from cytoolz<1.0.0,>=0.9.0->eth-keyfile<0.6.0,>=0.5.0->eth-account<0.6.0,>=0.4.0->dydx-python) (0.12.0)
Collecting base58
Downloading base58-2.1.1-py3-none-any.whl (5.6 kB)
Collecting varint
Downloading varint-1.0.2.tar.gz (1.9 kB)
Preparing metadata (setup.py) ... done
Collecting netaddr
Downloading netaddr-0.9.0-py3-none-any.whl (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 5.3 MB/s eta 0:00:00
Building wheels for collected packages: atomicwrites, websockets, parsimonious, varint
Building wheel for atomicwrites (setup.py) ... done
Created wheel for atomicwrites: filename=atomicwrites-1.4.1-py2.py3-none-any.whl size=6942 sha256=9e66148e5661d268f2861e7e2e6154fda8389d2090158f403979d65e19e10f16
Stored in directory: /Users/lisa/Library/Caches/pip/wheels/34/07/0b/33b15f68736109f72ea0bb2499521d87312b932620737447a2
Building wheel for websockets (setup.py) ... done
Created wheel for websockets: filename=websockets-9.1-cp310-cp310-macosx_10_9_x86_64.whl size=88296 sha256=046ac72d682dc6b1540fce18013bd81427c0b73018d4976d17eabfc799bb355e
Stored in directory: /Users/lisa/Library/Caches/pip/wheels/79/f7/4e/873eca27ecd6d7230caff265283a5a5112ad4cd1d945c022dd
Building wheel for parsimonious (setup.py) ... done
Created wheel for parsimonious: filename=parsimonious-0.8.1-py3-none-any.whl size=42707 sha256=9d7398a281ce080eef356aee3c58498f4717f36575cae4eedd353b252c4fc9ec
Stored in directory: /Users/lisa/Library/Caches/pip/wheels/b1/12/f1/7a2f39b30d6780ae9f2be9a52056595e0d97c1b4531d183085
Building wheel for varint (setup.py) ... done
Created wheel for varint: filename=varint-1.0.2-py3-none-any.whl size=1962 sha256=1859cf6c01899dac90c31ad61f3aaf6554a0fc589e253d13596e804b5559b2e9
Stored in directory: /Users/lisa/Library/Caches/pip/wheels/39/48/5e/33919c52a2a695a512ca394a5308dd12626a40bbcd288de814
Successfully built atomicwrites websockets parsimonious varint
Installing collected packages: wcwidth, varint, netaddr, lru-dict, distlib, chardet, bitarray, zipp, websockets, urllib3, setuptools, pycryptodome, py, protobuf, pluggy, platformdirs, parsimonious, multidict, more-itertools, idna, hexbytes, frozenlist, filelock, eth-typing, eth-hash, cytoolz, base58, atomicwrites, async-timeout, yarl, virtualenv, requests, pytest, multiaddr, importlib-metadata, eth-utils, aiosignal, tox, rlp, requests-mock, ipfshttpclient, eth-keys, eth-abi, aiohttp, eth-rlp, eth-keyfile, eth-account, web3, dydx-python
Attempting uninstall: chardet
Found existing installation: chardet 4.0.0
Uninstalling chardet-4.0.0:
Successfully uninstalled chardet-4.0.0
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.15
Uninstalling urllib3-1.26.15:
Successfully uninstalled urllib3-1.26.15
Attempting uninstall: setuptools
Found existing installation: setuptools 66.0.0
Uninstalling setuptools-66.0.0:
Successfully uninstalled setuptools-66.0.0
Attempting uninstall: pluggy
Found existing installation: pluggy 1.0.0
Uninstalling pluggy-1.0.0:
Successfully uninstalled pluggy-1.0.0
Attempting uninstall: platformdirs
Found existing installation: platformdirs 2.5.2
Uninstalling platformdirs-2.5.2:
Successfully uninstalled platformdirs-2.5.2
Attempting uninstall: idna
Found existing installation: idna 3.4
Uninstalling idna-3.4:
Successfully uninstalled idna-3.4
Attempting uninstall: filelock
Found existing installation: filelock 3.9.0
Uninstalling filelock-3.9.0:
Successfully uninstalled filelock-3.9.0
Attempting uninstall: requests
Found existing installation: requests 2.28.1
Uninstalling requests-2.28.1:
Successfully uninstalled requests-2.28.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.
conda 23.3.1 requires pluggy>=1.0.0, but you have pluggy 0.13.1 which is incompatible.
conda-repo-cli 1.0.41 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible.
conda-repo-cli 1.0.41 requires nbformat==5.4.0, but you have nbformat 5.7.0 which is incompatible.
conda-repo-cli 1.0.41 requires requests==2.28.1, but you have requests 2.22.0 which is incompatible.
anaconda-client 1.11.2 requires setuptools>=58.0.4, but you have setuptools 50.3.2 which is incompatible.
anaconda-client 1.11.2 requires urllib3>=1.26.4, but you have urllib3 1.25.11 which is incompatible.
Successfully installed aiohttp-3.8.6 aiosignal-1.3.1 async-timeout-4.0.3 atomicwrites-1.4.1 base58-2.1.1 bitarray-2.8.2 chardet-3.0.4 cytoolz-0.12.2 distlib-0.3.7 dydx-python-0.11.3 eth-abi-2.2.0 eth-account-0.5.9 eth-hash-0.5.2 eth-keyfile-0.5.1 eth-keys-0.3.4 eth-rlp-0.2.1 eth-typing-2.3.0 eth-utils-1.9.5 filelock-3.12.4 frozenlist-1.4.0 hexbytes-0.3.1 idna-2.8 importlib-metadata-0.23 ipfshttpclient-0.8.0a2 lru-dict-1.2.0 more-itertools-10.1.0 multiaddr-0.0.9 multidict-6.0.4 netaddr-0.9.0 parsimonious-0.8.1 platformdirs-3.11.0 pluggy-0.13.1 protobuf-3.19.5 py-1.11.0 pycryptodome-3.19.0 pytest-4.6.11 requests-2.22.0 requests-mock-1.6.0 rlp-2.0.1 setuptools-50.3.2 tox-3.13.2 urllib3-1.25.11 varint-1.0.2 virtualenv-20.24.5 wcwidth-0.2.8 web3-5.31.4 websockets-9.1 yarl-1.9.2 zipp-3.17.0

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

No branches or pull requests

1 participant