Comments (4)
建议用 pip3 install vitables
享受最新版本的 vitables
from faq.
解决方案:
- 创建
/etc/apt/apt.conf.d/07repo
,内容为
APT {
Default-Release "buster";
}
- 在
/etc/apt/sources.list
里加入Debian Sid
源
...
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ sid main non-free contrib
...
apt install vitables/sid
注意,此时安装的 vitables 是来自 Debian Sid 的 3.0 版本,并非 Debian Buster 中的 2.1 版本。会有如下输出:
...
Selected version '3.0.0-1.1' (Debian:unstable [all]) for 'vitables'
- 确认 vitables 的版本
$ vitables --version
vitables 3.0.0
- 需要把动态链接库的 ABI-tag 去掉,Qt5 才能正常运行
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
参考:microsoft/WSL#3023
https://superuser.com/questions/1347723/arch-on-wsl-libqt5core-so-5-not-found-despite-being-installed
from faq.
Ubuntu 用户需要把系统升级到 20.04 LTS 版本。再安装 vitables 就是 3.0 版本了。
但是升级过程可能出问题,丢失数据,一定先做好备份。
需要重复 Debian 方案的第 5 步,把动态链接库的 ABI-tag 去掉,Qt5 才能正常运行
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
from faq.
Ubuntu
可能的解决方案:
首先卸载掉qtpy
PyQt5
vitables
sudo apt remove vitables
一般来说这个时候qtpy
PyQt5
pyside
已经一同卸载掉了,如果不放心,可以使用如下命令尝试:
sudo apt remove python3-pyside2
sudo apt remove python3-qtpy
sudo apt remove python3-pyqt5
注意PyQt5那一行的命令,是小写
一般你会得到已经无事可做的反馈,也就是在卸载vitables
的时候已经一同卸载掉了
接下来重新安装vitables
,一定先用pip3
安装,再使用apt
安装
pip3 install vitables
sudo apt install vitables
经过以上流程,经历过
Module ... 'Pyside'
和
cannot import name 'loadUiType' from 'qtpy.uic'
我的电脑能够成功运行vitables
了
from faq.
Related Issues (10)
- 求助:讲台上的计算机经常断网 HOT 2
- 求助:grover算法作业的检测程序grade.py出现问题 HOT 5
- wsl2 在使用 X11 时出错 HOT 2
- 部分作业 grade.py 在代码超时后的报错信息有误 HOT 3
- 求助:ssh 连接出错 HOT 10
- 求助:mail作业中在本地测试通过,上传到git上测试时在task7 failed HOT 3
- 关于Make:多个文件由同一个脚本生成产生的困难 HOT 2
- 安装 rhdf5
- 无法正常连接数据库
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 faq.