If you would like to get Cassiopeia with the most recent updates (even before they have been pushed in an official release), you can clone the repository. complexjson = ujson Install from Source ¶ # see for more details import requests import ujson requests. To use ujson in conjunction with Requests, the following patch needs to be applied before running any API requests. In case P圜url is not installed, Cassiopeia falls back to Requests, this is a direct dependency and the user is not required to install the library manually.įurthermore, ujson is used instead of Python’s default json module when available. If you are having more problems, let us know via the Riot API discord server or our Meraki discord server. This should solve any certificate errors. If you successfully installed Cass but it’s throwing a certificate error, you probably just need to pip install certifi. This isn’t much fun, and again we recommend Anaconda to ease the process. If you do not or can’t use Anaconda, you’ll need download and install Curl, then use easy_install to install P圜url and link it to the proper Curl libraries. Anaconda is a package manager for Python and provides many packages that are difficult to install without Anaconda. The easiest thing to do (and what we highly recommend) is to install Python 3.6 via Anaconda. If Cass installed properly but is throwing certificate errors, skip to the 3rd paragraph.Īt the moment P圜url does not fully support installation with Python 3.6 and many people have had issues. Try the installation first, and if you have issues with pycurl come back and read this section. You may have some issues during installation due to P圜url. We may not make a PyPy release (which pip usually pulls from) for small changes to the code. (See the pip install page if you do not have pip installed.) If you want to pull the most recent version, you can install directly from GitHub using pip install git+ instead. Simply pip install cassiopeia to get the latest release. Cassiopeia requires Python 3.6 and we highly recommend installing Anaconda with Python 3.6.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |