Closed NoOneIsHereExceptMe closed 2 months ago
I cloned the repo locally and then modified the setup.py
file.
idk specifically what was causing the error, but my speculation is the readme()
function in that file.
here the modified code,
from setuptools import setup, find_packages
def readme(): # <- idk what is causing this issue in this function, so i avoided using it.
with open('README.txt', 'r') as f:
return f.read()
setup(
name='PyCharacterAI',
version='1.1.0',
author='XtraF',
author_email='igoromarov15@gmail.com',
description='An unofficial asynchronous api wrapper for Character AI.',
long_description='An unofficial asynchronous api wrapper for Character AI.', # <- replace the function call with any kind of string you want
long_description_content_type='text/markdown',
url='https://github.com/Xtr4F/PyCharacterAI',
packages=find_packages(),
install_requires=['uuid>=1.30',
'curl-cffi==0.5.9'],
classifiers=[
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: MIT License'
],
python_requires='>=3.7'
)
after running the specified installation command for PIP,
pip install PyCharacterAI
it gave me this error: