dragsama / tracemoepy Goto Github PK
View Code? Open in Web Editor NEWtrace.moe python3 wrapper
License: GNU Lesser General Public License v3.0
trace.moe python3 wrapper
License: GNU Lesser General Public License v3.0
Running setup.py install for brotlipy ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-vcg1z530\brotlipy_45075a6a828b42edb345b9eb65f2e134\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-vcg1z530\brotlipy_45075a6a828b42edb345b9eb65f2e134\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-zf394yby\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\HP\AppData\Roaming\Python\Python39\Include\brotlipy'
cwd: C:\Users\HP\AppData\Local\Temp\pip-install-vcg1z530\brotlipy_45075a6a828b42edb345b9eb65f2e134
Complete output (12 lines):
running install
running build
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\brotli
copying src\brotli\brotli.py -> build\lib.win-amd64-3.9\brotli
copying src\brotli\build.py -> build\lib.win-amd64-3.9\brotli
copying src\brotli_init_.py -> build\lib.win-amd64-3.9\brotli
running build_clib
building 'libbrotli' library
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\HP\AppData\Local\Temp\pip-install-vcg1z530\brotlipy_45075a6a828b42edb345b9eb65f2e134\setup.py'"'"'; file='"'"'C:\Users\HP\AppData\Local\Temp\pip-install-vcg1z530\brotlipy_45075a6a828b42edb345b9eb65f2e134\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\HP\AppData\Local\Temp\pip-record-zf394yby\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\HP\AppData\Roaming\Python\Python39\Include\brotlipy' Check the logs for full command output.
Code:
import tracemoepy
tracemoe = tracemoepy.async_trace.Async_Trace()
Error:
Traceback (most recent call last):
File "/app/userge/plugins/tools/executor.py", line 75, in eval_
ret_val = await aexec(cmd)
File "/app/userge/plugins/tools/executor.py", line 72, in aexec
return await locals()["__aexec"](userge, message)
File "<string>", line 3, in __aexec
File "/app/.heroku/python/lib/python3.8/site-packages/tracemoepy/async_trace.py", line 20, in __init__
self.aio_session.headers = {"Content-Type": "application/json"}
AttributeError: can't set attribute
Hi, just want to notify you the new trace.moe API is out.
Please take a look and update your program, otherwise it will be broken when the old API deprecates.
You can find the docs of the new API with migration guide at https://github.com/soruly/trace.moe-api
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.