Comments (4)
EG:
apt install python3-full
mkdir tribler_env
python3 -m venv tribler_env
./tribler_env/bin/pip3 install --upgrade -r tribler/requirements.txt
Only that errors with
ERROR: Could not find a version that satisfies the requirement libtorrent==1.2.19 (from versions: none)
ERROR: No matching distribution found for libtorrent==1.2.19
so get it from github directly.
But then
Building wheels for collected packages: PyQt5-sip
Building wheel for PyQt5-sip (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PyQt5-sip (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
running bdist_wheel
running build
running build_ext
building 'PyQt5.sip' extension
creating build
creating build/temp.linux-x86_64-cpython-311
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c apiversions.c -o build/temp.linux-x86_64-cpython-311/apiversions.o
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c array.c -o build/temp.linux-x86_64-cpython-311/array.o
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c descriptors.c -o build/temp.linux-x86_64-cpython-311/descriptors.o
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c int_convertors.c -o build/temp.linux-x86_64-cpython-311/int_convertors.o
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c objmap.c -o build/temp.linux-x86_64-cpython-311/objmap.o
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c qtlib.c -o build/temp.linux-x86_64-cpython-311/qtlib.o
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/me/Downloads/tribler_env/include -I/usr/include/python3.11 -c siplib.c -o build/temp.linux-x86_64-cpython-311/siplib.o
siplib.c: In function ‘sip_api_get_frame’:
siplib.c:12751:22: error: invalid use of undefined type ‘struct _frame’
12751 | frame = frame->f_back;
| ^~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyQt5-sip
Failed to build PyQt5-sip
ERROR: Could not build wheels for PyQt5-sip, which is required to install pyproject.toml-based projects
Any I don't even want the GUI part so I'll leave the QT fix for others.
from tribler.
Getting libtorrent from github:
apt install libboost-tools-dev libboost-dev libboost-system-dev
wget "https://github.com/arvidn/libtorrent/releases/download/v1.2.19/libtorrent-rasterbar-1.2.19.tar.gz"
tar -xf libtorrent-rasterbar-1.2.19.tar.gz
cd libtorrent-rasterbar-1.2.19
echo "using gcc ;" >>~/user-config.jam
ln -s /usr/lib/x86_64-linux-gnu/libboost_python311.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_python311.so
../tribler_env/bin/python3 setup.py build
uses maybe 2GB RAM per CPU.
from tribler.
After adding async_timeout to requirements-core.txt that worked.
from tribler.
from tribler.
Related Issues (20)
- Reports to Sentry are silently ignored on some Tribler installations
- ProactorEventLoop bug reproduced: UDP server stops accepting datagrams from any clients after a single client disconnects HOT 1
- `SearchResultsModel` performs queries without text
- [7.13.3] PermissionError: [Errno 13] Permission denied: <filepath>
- Health notification is not being sent to the GUI
- [7.13.3] ValueError: bit must be 0 or 1, got 4
- `Stale.yml` Node.js 16 actions are deprecated
- `Gatekeeper.yml` gatekeeper Label check failed: required 1 of 'PR: safe to check', but found 0. HOT 1
- is_frozen() returns the wrong result when the Tribler binary is built with cx_freeze instead of PyInstaller
- [7.14 release branch] PyInstaller refuses to build Tribler on Mac
- `guitest` is failing HOT 1
- After upgrade to 7.14.0 http_port keeps changing and api does not work HOT 27
- GUI tests are order dependent
- No matching distribution found for libtorrent==1.2.19 for macOS HOT 1
- [7.14.0] ValueError: invalid literal for int() with base 10 (in DownloadManager.set_proxy_settings) HOT 1
- [7.14] TypeError: 'NoneType' object is not subscriptable
- Streaming in Ubuntu
- Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format HOT 1
- [main] KeyError: 'ratio' (in `DownloadWidgetItem.__lt__`)
- Move File Storage issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tribler.