'ccxt' has no attribute ...

See original GitHub issue

Something wrong, just installed ccxt and tried demo code to print ccxt.version or ccxt.exchanges, but doesn’t work

  • OS:
  • Programming Language version: python 3.9.1
  • CCXT version: ccxt-1.41.31
import ccxt
print(ccxt.exchanges) # print a list of all available exchange classes
AttributeError: partially initialized module 'ccxt' has no attribute 'version' (most likely due to a circular import)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lifengmdscommented, Jan 31, 2021

@lifengmds this should work as well as the rest of it:

import ccxt
print(ccxt.exchanges)

Thank you for your help!

1reaction
kroitorcommented, Jan 31, 2021

@lifengmds this should work as well as the rest of it:

import ccxt
print(ccxt.exchanges)
Read more comments on GitHub >

github_iconTop Results From Across the Web

module 'ccxt' has no attribute 'exchanges' · Issue #2914
OS: Win 10 Programming Language version: Python 3.6.5 x64 CCXT version: ... AttributeError: module 'ccxt' has no attribute 'exchanges' #2914.
Read more >
CCXT – CryptoCurrency eXchange Trading Library
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
Read more >
Python: Call function of package using object - ccxt
Error: AttributeError: module 'ccxt' has no attribute 'ex' How can I make this work? python · ccxt · Share.
Read more >
Top 5 ccxt Code Examples
To help you get started, we've selected a few ccxt examples, based on popular ways it is used in public projects. Secure your...
Read more >
Exchanges — ccxt 2.4.71 documentation
In terms of the ccxt library, each exchange contains one or more trading markets. Each market has an id and a symbol. Most...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found