Форум программистов, компьютерный форум, киберфорум
Python: IDE, инструментарий
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
 
Рейтинг 4.71/21: Рейтинг темы: голосов - 21, средняя оценка - 4.71
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753

Ошибка при установке mu-editor в Линукс

03.09.2020, 08:55. Показов 4643. Ответов 21
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Программа на самом деле для Python 3.6 максимум, как написано на pypi.org, а в системе по умолчанию Python 3.8.2. Пайтон 3.6 установил дополнительно, после этого попробовал переустановить. Как прикрепить установку к Пайтон 3.6, пока что не изучил.

Вот что потом увидел (это наверное к делу не относится, так как возможн по поводу запуска с флэшки):
On Linux, in order for Mu to work with the MicroPython based devices you need to ensure you add yourself to the correct permissions group (usually the dialout or uucp groups). Also make sure that your distribution automatically mounts flash devices, or make sure to mount them manually.
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
root@PC:/home/ia# pip install mu-editor
Collecting mu-editor
  Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB)
Collecting pyflakes==2.0.0
  Using cached pyflakes-2.0.0-py2.py3-none-any.whl (53 kB)
Collecting nudatus>=0.0.3
  Downloading nudatus-0.0.4.tar.gz (4.5 kB)
Requirement already satisfied: pyqt5==5.14.1 in /usr/lib/python3/dist-packages (from mu-editor) (5.14.1)
Collecting matplotlib==2.2.2
  Using cached matplotlib-2.2.2.tar.gz (37.3 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q974g_iq/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-q974g_iq/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-xzjac8zq                                              
         cwd: /tmp/pip-install-q974g_iq/matplotlib/                          
    Complete output (63 lines):                                              
    ============================================================================                                                                          
    Edit setup.cfg to change the build options                               
                                                                             
    BUILDING MATPLOTLIB                                                      
                matplotlib: yes [2.2.2]                                      
                    python: yes [3.8.2 (default, Jul 16 2020, 14:00:26)  [GCC
                            9.3.0]]                                          
                  platform: yes [linux]                                      
                                                                             
    REQUIRED DEPENDENCIES AND EXTENSIONS                                     
                     numpy: yes [not found. pip may install it below.]       
          install_requires: yes [handled by setuptools]                      
                    libagg: yes [pkg-config information for 'libagg' could not                                                                            
                            be found. Using local copy.]                     
                  freetype: no  [The C/C++ header for freetype2 (ft2build.h) 
                            could not be found.  You may need to install the 
                            development package.]                            
                       png: no  [pkg-config information for 'libpng' could not                                                                            
                            be found.]                                       
                     qhull: yes [pkg-config information for 'libqhull' could not                                                                          
                            be found. Using local copy.]                     
                                                                             
    OPTIONAL SUBPACKAGES                                                     
               sample_data: yes [installing]                                 
                  toolkits: yes [installing]                                 
                     tests: no  [skipping due to configuration]              
            toolkits_tests: no  [skipping due to configuration]              
                                                                             
    OPTIONAL BACKEND EXTENSIONS                                              
                    macosx: no  [Mac OS-X only]                              
                    qt5agg: yes [installing, Qt: 5.12.8, PyQt: 5.14.1; PySide2                                                                            
                            not found]                                       
                    qt4agg: no  [PySide not found; PyQt4 not found]          
                   gtk3agg: yes [installing, version 3.20.24]                
    Traceback (most recent call last):                                       
      File "<string>", line 1, in <module>                                   
      File "/tmp/pip-install-q974g_iq/matplotlib/setup.py", line 197, in <module>                                                                         
        msg = pkg.install_help_msg()                                         
      File "/tmp/pip-install-q974g_iq/matplotlib/setupext.py", line 592, in install_help_msg                                                              
        release = platform.linux_distribution()[0].lower()                   
    AttributeError: module 'platform' has no attribute 'linux_distribution'  
                 gtk3cairo: yes [installing, version 3.20.24]                
                    gtkagg: no  [Requires pygtk]                             
                     tkagg: yes [installing; run-time loading from Python Tcl /                                                                           
                            Tk]                                              
                     wxagg: no  [requires wxPython]                          
                       gtk: no  [Requires pygtk]                             
                       agg: yes [installing]                                 
                     cairo: yes [installing, pycairo version 1.16.2]         
                 windowing: no  [Microsoft Windows only]                     
                                                                             
    OPTIONAL LATEX DEPENDENCIES                                              
                    dvipng: no                                               
               ghostscript: yes [version 9.50]                               
                     latex: no                                               
                   pdftops: yes [version 0.86.1]                             
                                                                             
    OPTIONAL PACKAGE DATA                                                    
                      dlls: no  [skipping due to configuration]              
                                                                             
    ============================================================================                                                                          
                            * The following required packages can not be built:                                                                           
                            * freetype, png                                  
    ----------------------------------------                                 
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.                                           
root@PC:/home/ia#
Добавлено через 3 минуты
https://pypi.org/project/matplotlib/ другая версия уже есть. То, что указано, что отсутствует, это надо сначала все вручную установить?

Добавлено через 1 минуту
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
root@PC:/home/ia# pip install matplotlib
Collecting matplotlib
  Downloading matplotlib-3.3.1-cp38-cp38-manylinux1_x86_64.whl (11.6 MB)
     |████████████████████████████████| 11.6 MB 1.6 MB/s 
Requirement already satisfied: pillow>=6.2.0 in /usr/lib/python3/dist-packages (from matplotlib) (7.0.0)
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.2.0-cp38-cp38-manylinux1_x86_64.whl (92 kB)
     |████████████████████████████████| 92 kB 10 kB/s 
Collecting python-dateutil>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 2.5 MB/s 
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 481 kB/s 
Collecting cycler>=0.10
  Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting numpy>=1.15
  Downloading numpy-1.19.1-cp38-cp38-manylinux2010_x86_64.whl (14.5 MB)
     |████████████████████████████████| 14.5 MB 78 kB/s 
Collecting certifi>=2020.06.20
  Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
     |████████████████████████████████| 156 kB 1.2 MB/s 
Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.1->matplotlib) (1.14.0)
Installing collected packages: kiwisolver, python-dateutil, pyparsing, cycler, numpy, certifi, matplotlib
  Attempting uninstall: certifi
    Found existing installation: certifi 2019.11.28
    Uninstalling certifi-2019.11.28:
      Successfully uninstalled certifi-2019.11.28
Successfully installed certifi-2020.6.20 cycler-0.10.0 kiwisolver-1.2.0 matplotlib-3.3.1 numpy-1.19.1 pyparsing-2.4.7 python-dateutil-2.8.1
root@PC:/home/ia#
---

Добавлено через 3 минуты
Ошибка все равно повторяется
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
root@PC:/home/ia# pip install mu-editor
Collecting mu-editor
  Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB)
Collecting appdirs>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pigpio>=1.40.post1
  Using cached pigpio-1.46-py2.py3-none-any.whl (39 kB)
Collecting qscintilla==2.11.4
  Using cached QScintilla-2.11.4-1-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (1.9 MB)
Collecting matplotlib==2.2.2
  Using cached matplotlib-2.2.2.tar.gz (37.3 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-t9xsj8tl/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-t9xsj8tl/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4hrtyh76                                              
         cwd: /tmp/pip-install-t9xsj8tl/matplotlib/                          
    Complete output (63 lines):                                              
    ============================================================================                                                                          
    Edit setup.cfg to change the build options                               
                                                                             
    BUILDING MATPLOTLIB                                                      
                matplotlib: yes [2.2.2]                                      
                    python: yes [3.8.2 (default, Jul 16 2020, 14:00:26)  [GCC
                            9.3.0]]                                          
                  platform: yes [linux]                                      
                                                                             
    REQUIRED DEPENDENCIES AND EXTENSIONS                                     
                     numpy: yes [version 1.19.1]                             
          install_requires: yes [handled by setuptools]                      
                    libagg: yes [pkg-config information for 'libagg' could not                                                                            
                            be found. Using local copy.]                     
                  freetype: no  [The C/C++ header for freetype2 (ft2build.h) 
                            could not be found.  You may need to install the 
                            development package.]                            
                       png: no  [pkg-config information for 'libpng' could not                                                                            
                            be found.]                                       
                     qhull: yes [pkg-config information for 'libqhull' could not                                                                          
                            be found. Using local copy.]                     
                                                                             
    OPTIONAL SUBPACKAGES                                                     
               sample_data: yes [installing]                                 
                  toolkits: yes [installing]                                 
                     tests: no  [skipping due to configuration]              
            toolkits_tests: no  [skipping due to configuration]              
                                                                             
    OPTIONAL BACKEND EXTENSIONS                                              
                    macosx: no  [Mac OS-X only]                              
                    qt5agg: yes [installing, Qt: 5.12.8, PyQt: 5.14.1; PySide2                                                                            
                            not found]                                       
                    qt4agg: no  [PySide not found; PyQt4 not found]          
                   gtk3agg: yes [installing, version 3.20.24]                
    Traceback (most recent call last):                                       
      File "<string>", line 1, in <module>                                   
      File "/tmp/pip-install-t9xsj8tl/matplotlib/setup.py", line 197, in <module>                                                                         
        msg = pkg.install_help_msg()                                         
      File "/tmp/pip-install-t9xsj8tl/matplotlib/setupext.py", line 592, in install_help_msg                                                              
        release = platform.linux_distribution()[0].lower()                   
    AttributeError: module 'platform' has no attribute 'linux_distribution'  
                 gtk3cairo: yes [installing, version 3.20.24]                
                    gtkagg: no  [Requires pygtk]                             
                     tkagg: yes [installing; run-time loading from Python Tcl /                                                                           
                            Tk]                                              
                     wxagg: no  [requires wxPython]                          
                       gtk: no  [Requires pygtk]                             
                       agg: yes [installing]                                 
                     cairo: yes [installing, pycairo version 1.16.2]         
                 windowing: no  [Microsoft Windows only]                     
                                                                             
    OPTIONAL LATEX DEPENDENCIES                                              
                    dvipng: no                                               
               ghostscript: yes [version 9.50]                               
                     latex: no                                               
                   pdftops: yes [version 0.86.1]                             
                                                                             
    OPTIONAL PACKAGE DATA                                                    
                      dlls: no  [skipping due to configuration]              
                                                                             
    ============================================================================                                                                          
                            * The following required packages can not be built:                                                                           
                            * freetype, png                                  
    ----------------------------------------                                 
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.                                           
root@PC:/home/ia#
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
03.09.2020, 08:55
Ответы с готовыми решениями:

Ошибка при установке на виртуальный диск Линукс Чакра
Пишет что ошибка в раздаче Umount. Что делать мне ребята?

Линукс при установке не видит жесткий диск
Здравствуйте! Столкнулся с проблемой установки Linux. Образ: linuxmint-19-cinnamon-64bit-v2.iso. При выборе Start Linux Mint вылетает...

При установке криптопро на линукс требует LSB пакет
Добрый день, При установке Крипты на Centos 7(Xfce) происходит ошибка и появляется следующее окно с сообщением: Error: installation...

21
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 09:15
Bash
1
apt install libfreetype6-dev libpng16-devtools
Добавлено через 21 секунду
Это нужно для сборки matplotlib
1
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 09:28  [ТС]
Что посоветуете в связи с сообщениями:
Code
1
2
3
4
5
6
7
8
9
10
11
root@PC:/home/ia# apt install libfreetype6-dev libpng16-devtools
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Пакет libpng16-devtools недоступен, но упомянут в списке зависимостей другого
пакета. Это может означать, что пакет отсутствует, устарел или
доступен из источников, не упомянутых в sources.list
Однако следующие пакеты могут его заменить:
  libpng-dev:i386 libpng-dev
 
E: Для пакета «libpng16-devtools» не найден кандидат на установку
0
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 09:43
Цитата Сообщение от supmener Посмотреть сообщение
Однако следующие пакеты могут его заменить:
... libpng-dev
Даже не знаю. Может, погадать на кофейной гуще?
0
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 09:58  [ТС]
Имел в виду, что здесь указаны два сочетания символов через пробел libpng-dev:i386 libpng-dev , их оба надо устанавливать или одно из них?
0
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 10:06
Второй для архитектуры х64
0
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 11:21  [ТС]
Цитата Сообщение от supmener Посмотреть сообщение
libpng-dev
Это установил, а дальше после установки не запускается редактор
Code
1
2
3
4
5
6
7
root@PC:/home/ia# mu-editor
Traceback (most recent call last):
  File "/usr/local/bin/mu-editor", line 5, in <module>
    from mu.app import run
  File "/usr/local/lib/python3.6/dist-packages/mu/app.py", line 29, in <module>
    from PyQt5.QtCore import QTimer, Qt
ModuleNotFoundError: No module named 'PyQt5.QtCore'
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
root@PC:/home/ia# python3.6 -m pip install mu-editor
Collecting mu-editor
  Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB)
Collecting pyflakes==2.0.0
  Using cached pyflakes-2.0.0-py2.py3-none-any.whl (53 kB)
Collecting appdirs>=1.4.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Requirement already satisfied: pyqt5==5.14.1 in /usr/lib/python3/dist-packages (from mu-editor) (5.14.1)
Collecting gpiozero>=1.4.1
  Using cached gpiozero-1.5.1-py2.py3-none-any.whl (138 kB)
Collecting guizero>=1.1.0
  Using cached guizero-1.1.0-py3-none-any.whl (41 kB)
Collecting pyserial==3.4
  Using cached pyserial-3.4-py2.py3-none-any.whl (193 kB)
Collecting nudatus>=0.0.3
  Using cached nudatus-0.0.4.tar.gz (4.5 kB)
Collecting qtconsole==4.3.1
  Using cached qtconsole-4.3.1-py2.py3-none-any.whl (108 kB)
Collecting qscintilla==2.11.4
  Using cached QScintilla-2.11.4-1-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (1.9 MB)
Requirement already satisfied: Pillow>=5.2.0 in /usr/lib/python3/dist-packages (from mu-editor) (7.0.0)
Collecting pycodestyle==2.4.0
  Using cached pycodestyle-2.4.0-py2.py3-none-any.whl (62 kB)
Requirement already satisfied: requests>=2.19.1 in /usr/lib/python3/dist-packages (from mu-editor) (2.22.0)
Collecting matplotlib==2.2.2
  Downloading matplotlib-2.2.2-cp36-cp36m-manylinux1_x86_64.whl (12.6 MB)
     |████████████████████████████████| 12.6 MB 94 kB/s 
Collecting pigpio>=1.40.post1
  Using cached pigpio-1.46-py2.py3-none-any.whl (39 kB)
Collecting pgzero==1.2
  Using cached pgzero-1.2-py3-none-any.whl (69 kB)
Collecting PyQtChart==5.14.0
  Using cached PyQtChart-5.14.0-5.14.2-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (1.2 MB)
Collecting semver>=2.8.0
  Using cached semver-2.10.2-py2.py3-none-any.whl (12 kB)
Collecting colorzero
  Using cached colorzero-1.1-py2.py3-none-any.whl (33 kB)
Collecting traitlets
  Downloading traitlets-4.3.3-py2.py3-none-any.whl (75 kB)
     |████████████████████████████████| 75 kB 173 kB/s 
Collecting ipykernel>=4.1
  Using cached ipykernel-5.3.4-py3-none-any.whl (120 kB)
Collecting pygments
  Using cached Pygments-2.6.1-py3-none-any.whl (914 kB)
Collecting jupyter-core
  Using cached jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB)
Collecting jupyter-client>=4.1
  Using cached jupyter_client-6.1.7-py3-none-any.whl (108 kB)
Collecting ipython-genutils
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting PyQt5-sip<13,>=12.7
  Downloading PyQt5_sip-12.8.1-cp36-cp36m-manylinux1_x86_64.whl (278 kB)
     |████████████████████████████████| 278 kB 924 kB/s 
Collecting pytz
  Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting python-dateutil>=2.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Requirement already satisfied: six>=1.10 in /usr/lib/python3/dist-packages (from matplotlib==2.2.2->mu-editor) (1.14.0)
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.2.0-cp36-cp36m-manylinux1_x86_64.whl (88 kB)
     |████████████████████████████████| 88 kB 507 kB/s 
Collecting cycler>=0.10
  Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting numpy>=1.7.1
  Downloading numpy-1.19.1-cp36-cp36m-manylinux2010_x86_64.whl (14.5 MB)
     |████████████████████████████████| 14.5 MB 74 kB/s 
Collecting pygame<2.0,>=1.9.2
  Downloading pygame-1.9.6-cp36-cp36m-manylinux1_x86_64.whl (11.4 MB)
     |████████████████████████████████| 11.4 MB 1.4 MB/s 
Collecting decorator
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting tornado>=4.2
  Using cached tornado-6.0.4.tar.gz (496 kB)
Collecting ipython>=5.0.0
  Downloading ipython-7.16.1-py3-none-any.whl (785 kB)
     |████████████████████████████████| 785 kB 847 kB/s 
Collecting pyzmq>=13
  Downloading pyzmq-19.0.2-cp36-cp36m-manylinux1_x86_64.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 924 kB/s 
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.7-py3-none-any.whl (355 kB)
Requirement already satisfied: pexpect; sys_platform != "win32" in /usr/lib/python3/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (4.6.0)
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (45.2.0)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting jedi>=0.10
  Using cached jedi-0.17.2-py2.py3-none-any.whl (1.4 MB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting parso<0.8.0,>=0.7.0
  Using cached parso-0.7.1-py2.py3-none-any.whl (109 kB)
Building wheels for collected packages: nudatus, tornado
  Building wheel for nudatus (setup.py) ... done
  Created wheel for nudatus: filename=nudatus-0.0.4-py3-none-any.whl size=4983 sha256=639a295622d90616f22f190cd00c5f348adcf97310e04053c89abbb61cf5485e
  Stored in directory: /root/.cache/pip/wheels/96/8b/dc/4095ab0a92c8ee4baf30f59f1b07958a784e96f93feebc5ab1
  Building wheel for tornado (setup.py) ... done
  Created wheel for tornado: filename=tornado-6.0.4-cp36-cp36m-linux_x86_64.whl size=415151 sha256=fd3c0679a850d0e4383d85525fba086f318cb3fae357a57784eaba3ad4bdbb4a
  Stored in directory: /root/.cache/pip/wheels/37/a7/db/2d592e44029ef817f3ef63ea991db34191cebaef087a96f505
Successfully built nudatus tornado
Installing collected packages: pyflakes, appdirs, colorzero, gpiozero, guizero, pyserial, nudatus, decorator, ipython-genutils, traitlets, tornado, backcall, wcwidth, prompt-toolkit, pygments, pickleshare, parso, jedi, ipython, python-dateutil, pyzmq, jupyter-core, jupyter-client, ipykernel, qtconsole, PyQt5-sip, qscintilla, pycodestyle, pytz, pyparsing, kiwisolver, cycler, numpy, matplotlib, pigpio, pygame, pgzero, PyQtChart, semver, mu-editor
Successfully installed PyQt5-sip-12.8.1 PyQtChart-5.14.0 appdirs-1.4.4 backcall-0.2.0 colorzero-1.1 cycler-0.10.0 decorator-4.4.2 gpiozero-1.5.1 guizero-1.1.0 ipykernel-5.3.4 ipython-7.16.1 ipython-genutils-0.2.0 jedi-0.17.2 jupyter-client-6.1.7 jupyter-core-4.6.3 kiwisolver-1.2.0 matplotlib-2.2.2 mu-editor-1.0.3 nudatus-0.0.4 numpy-1.19.1 parso-0.7.1 pgzero-1.2 pickleshare-0.7.5 pigpio-1.46 prompt-toolkit-3.0.7 pycodestyle-2.4.0 pyflakes-2.0.0 pygame-1.9.6 pygments-2.6.1 pyparsing-2.4.7 pyserial-3.4 python-dateutil-2.8.1 pytz-2020.1 pyzmq-19.0.2 qscintilla-2.11.4 qtconsole-4.3.1 semver-2.10.2 tornado-6.0.4 traitlets-4.3.3 wcwidth-0.2.5
root@PC:/home/ia# mu-editor
Traceback (most recent call last):
  File "/usr/local/bin/mu-editor", line 5, in <module>
    from mu.app import run
  File "/usr/local/lib/python3.6/dist-packages/mu/app.py", line 29, in <module>
    from PyQt5.QtCore import QTimer, Qt
ModuleNotFoundError: No module named 'PyQt5.QtCore'
root@PC:/home/ia#
0
1303 / 843 / 409
Регистрация: 12.03.2018
Сообщений: 2,305
03.09.2020, 11:30
PyQt5 поставили?
0
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 12:13  [ТС]
Цитата Сообщение от supmener Посмотреть сообщение
Requirement already satisfied: pyqt5==5.14.1 in /usr/lib/python3/dist-packages (from mu-editor) (5.14.1)
---

Code
1
2
# pip install PyQt5
Requirement already satisfied: PyQt5 in /usr/lib/python3/dist-packages (5.14.1)
Добавлено через 12 минут
Открыл баг-репорт https://github.com/mu-editor/mu/issues/1093
0
1303 / 843 / 409
Регистрация: 12.03.2018
Сообщений: 2,305
03.09.2020, 12:14
Цитата Сообщение от supmener Посмотреть сообщение
File "/usr/local/lib/python3.6/dist-packages/mu/app.py", line 29, in <module>
from PyQt5.QtCore import QTimer, Qt
Цитата Сообщение от supmener Посмотреть сообщение
# pip install PyQt5
Requirement already satisfied: PyQt5 in /usr/lib/python3/dist-packages (5.14.1)
разные пути ни на что не влияют?
1
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 12:19
Конечно влияют.
1
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 13:34  [ТС]
А что делать?
0
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 13:38
Забей и поставь для стабильной версии питона
Bash
1
pip install mu-editor
(из-под рута)
0
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 13:44  [ТС]
Он для 3.6. Есть сведения, что на 3.7 работает. Есть информация, что на 3.8 не запускается.
0
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 13:55
Цитата Сообщение от supmener Посмотреть сообщение
Есть информация, что на 3.8 не запускается.
Давно бы уже установил да проверил
0
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 14:02  [ТС]
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# pip install mu-editor
Collecting mu-editor
  Using cached mu_editor-1.0.3-py3-none-any.whl (2.0 MB)
Collecting guizero>=1.1.0
  Using cached guizero-1.1.0-py3-none-any.whl (41 kB)
Requirement already satisfied: requests>=2.19.1 in /usr/lib/python3/dist-packages (from mu-editor) (2.22.0)
Collecting qtconsole==4.3.1
  Using cached qtconsole-4.3.1-py2.py3-none-any.whl (108 kB)
Collecting gpiozero>=1.4.1
  Using cached gpiozero-1.5.1-py2.py3-none-any.whl (138 kB)
Collecting matplotlib==2.2.2
  Using cached matplotlib-2.2.2.tar.gz (37.3 MB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-808z_bq1/matplotlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-808z_bq1/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-808z_bq1/matplotlib/pip-egg-info                           
         cwd: /tmp/pip-install-808z_bq1/matplotlib/                          
    Complete output (62 lines):                                              
    ============================================================================                                                                          
    Edit setup.cfg to change the build options                               
                                                                             
    BUILDING MATPLOTLIB                                                      
                matplotlib: yes [2.2.2]                                      
                    python: yes [3.8.2 (default, Jul 16 2020, 14:00:26)  [GCC
                            9.3.0]]                                          
                  platform: yes [linux]                                      
                                                                             
    REQUIRED DEPENDENCIES AND EXTENSIONS                                     
                     numpy: yes [version 1.19.1]                             
          install_requires: yes [handled by setuptools]                      
                    libagg: yes [pkg-config information for 'libagg' could not                                                                            
                            be found. Using local copy.]                     
                  freetype: no  [The C/C++ header for freetype2 (ft2build.h) 
                            could not be found.  You may need to install the 
                            development package.]                            
                       png: yes [version 1.6.37]                             
                     qhull: yes [pkg-config information for 'libqhull' could not                                                                          
                            be found. Using local copy.]                     
                                                                             
    OPTIONAL SUBPACKAGES                                                     
               sample_data: yes [installing]                                 
                  toolkits: yes [installing]                                 
                     tests: no  [skipping due to configuration]              
            toolkits_tests: no  [skipping due to configuration]              
                                                                             
    OPTIONAL BACKEND EXTENSIONS                                              
                    macosx: no  [Mac OS-X only]                              
                    qt5agg: yes [installing, Qt: 5.12.8, PyQt: 5.14.1; PySide2                                                                            
                            not found]                                       
                    qt4agg: no  [PySide not found; PyQt4 not found]          
                   gtk3agg: yes [installing, version 3.20.24]                
    Traceback (most recent call last):                                       
      File "<string>", line 1, in <module>                                   
      File "/tmp/pip-install-808z_bq1/matplotlib/setup.py", line 197, in <module>                                                                         
        msg = pkg.install_help_msg()                                         
      File "/tmp/pip-install-808z_bq1/matplotlib/setupext.py", line 592, in install_help_msg                                                              
        release = platform.linux_distribution()[0].lower()                   
    AttributeError: module 'platform' has no attribute 'linux_distribution'  
                 gtk3cairo: yes [installing, version 3.20.24]                
                    gtkagg: no  [Requires pygtk]                             
                     tkagg: yes [installing; run-time loading from Python Tcl /                                                                           
                            Tk]                                              
                     wxagg: no  [requires wxPython]                          
                       gtk: no  [Requires pygtk]                             
                       agg: yes [installing]                                 
                     cairo: yes [installing, pycairo version 1.16.2]         
                 windowing: no  [Microsoft Windows only]                     
                                                                             
    OPTIONAL LATEX DEPENDENCIES                                              
                    dvipng: no                                               
               ghostscript: yes [version 9.50]                               
                     latex: no                                               
                   pdftops: yes [version 0.86.1]                             
                                                                             
    OPTIONAL PACKAGE DATA                                                    
                      dlls: no  [skipping due to configuration]              
                                                                             
    ============================================================================                                                                          
                            * The following required packages can not be built:                                                                           
                            * freetype                                       
    ----------------------------------------                                 
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
0
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 15:04
libfreetype6-dev так и не поставил?
0
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 15:24  [ТС]
Тогда не поставил, сейчас установил. Не работает.
Вложения
Тип файла: 7z Ошибка установки Му едитор2.7z (3.4 Кб, 1 просмотров)
0
Просто Лис
Эксперт Python
 Аватар для Рыжий Лис
5973 / 3735 / 1099
Регистрация: 17.05.2012
Сообщений: 10,791
Записей в блоге: 9
03.09.2020, 15:34
apt install sdl-config
1
 Аватар для supmener
87 / 95 / 15
Регистрация: 26.06.2013
Сообщений: 4,753
03.09.2020, 17:13  [ТС]
Code
1
2
3
4
5
apt install sdl-config
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
E: Невозможно найти пакет sdl-config
---

Добавлено через 46 минут
А несовпадение каких путей Вы имели в виду?
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
root@PC:/home/ia# python3.7 -m pip install  https://files.pythonhosted.org/packages/18/b3/0bf5afdcf6ef95d2a343cd7865585a6efe5e3e727c1a4f3385c9935248cf/pygame-1.9.6-cp37-cp37m-manylinux1_x86_64.whl
Requirement already satisfied: pygame==1.9.6 from https://files.pythonhosted.org/packages/18/b3/0bf5afdcf6ef95d2a343cd7865585a6efe5e3e727c1a4f3385c9935248cf/pygame-1.9.6-cp37-cp37m-manylinux1_x86_64.whl in /usr/local/lib/python3.7/dist-packages (1.9.6)
root@PC:/home/ia# python3.7 -m pip install mu-editor
Requirement already satisfied: mu-editor in /usr/local/lib/python3.7/dist-packages (1.0.3)
Requirement already satisfied: gpiozero>=1.4.1 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (1.5.1)
Requirement already satisfied: guizero>=1.1.0 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (1.1.0)
Requirement already satisfied: pigpio>=1.40.post1 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (1.46)
Requirement already satisfied: nudatus>=0.0.3 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (0.0.4)
Requirement already satisfied: pgzero==1.2 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (1.2)
Requirement already satisfied: qtconsole==4.3.1 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (4.3.1)
Requirement already satisfied: qscintilla==2.11.4 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (2.11.4)
Requirement already satisfied: pyflakes==2.0.0 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (2.0.0)
Requirement already satisfied: pyserial==3.4 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (3.4)
Requirement already satisfied: semver>=2.8.0 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (2.10.2)
Requirement already satisfied: matplotlib==2.2.2 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (2.2.2)
Requirement already satisfied: PyQtChart==5.14.0 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (5.14.0)
Requirement already satisfied: pyqt5==5.14.1 in /usr/lib/python3/dist-packages (from mu-editor) (5.14.1)
Requirement already satisfied: pycodestyle==2.4.0 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (2.4.0)
Requirement already satisfied: appdirs>=1.4.3 in /usr/local/lib/python3.7/dist-packages (from mu-editor) (1.4.4)
Requirement already satisfied: requests>=2.19.1 in /usr/lib/python3/dist-packages (from mu-editor) (2.22.0)
Requirement already satisfied: Pillow>=5.2.0 in /usr/lib/python3/dist-packages (from mu-editor) (7.0.0)
Requirement already satisfied: colorzero in /usr/local/lib/python3.7/dist-packages (from gpiozero>=1.4.1->mu-editor) (1.1)
Requirement already satisfied: pygame<2.0,>=1.9.2 in /usr/local/lib/python3.7/dist-packages (from pgzero==1.2->mu-editor) (1.9.6)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from pgzero==1.2->mu-editor) (1.19.1)
Requirement already satisfied: pygments in /usr/local/lib/python3.7/dist-packages (from qtconsole==4.3.1->mu-editor) (2.6.1)
Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.7/dist-packages (from qtconsole==4.3.1->mu-editor) (0.2.0)
Requirement already satisfied: jupyter-client>=4.1 in /usr/local/lib/python3.7/dist-packages (from qtconsole==4.3.1->mu-editor) (6.1.7)
Requirement already satisfied: traitlets in /usr/local/lib/python3.7/dist-packages (from qtconsole==4.3.1->mu-editor) (5.0.2)
Requirement already satisfied: ipykernel>=4.1 in /usr/local/lib/python3.7/dist-packages (from qtconsole==4.3.1->mu-editor) (5.3.4)
Requirement already satisfied: jupyter-core in /usr/local/lib/python3.7/dist-packages (from qtconsole==4.3.1->mu-editor) (4.6.3)
Requirement already satisfied: PyQt5-sip<13,>=12.7 in /usr/local/lib/python3.7/dist-packages (from qscintilla==2.11.4->mu-editor) (12.8.1)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==2.2.2->mu-editor) (2.8.1)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==2.2.2->mu-editor) (1.2.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib==2.2.2->mu-editor) (0.10.0)
Requirement already satisfied: six>=1.10 in /usr/lib/python3/dist-packages (from matplotlib==2.2.2->mu-editor) (1.14.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.7/dist-packages (from matplotlib==2.2.2->mu-editor) (2020.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib==2.2.2->mu-editor) (2.4.7)
Requirement already satisfied: pyzmq>=13 in /usr/local/lib/python3.7/dist-packages (from jupyter-client>=4.1->qtconsole==4.3.1->mu-editor) (19.0.2)
Requirement already satisfied: tornado>=4.1 in /usr/local/lib/python3.7/dist-packages (from jupyter-client>=4.1->qtconsole==4.3.1->mu-editor) (6.0.4)
Requirement already satisfied: ipython>=5.0.0 in /usr/local/lib/python3.7/dist-packages (from ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (7.18.1)
Requirement already satisfied: backcall in /usr/local/lib/python3.7/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (0.2.0)
Requirement already satisfied: jedi>=0.10 in /usr/local/lib/python3.7/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (0.17.2)
Requirement already satisfied: pexpect>4.3; sys_platform != "win32" in /usr/lib/python3/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (4.6.0)
Requirement already satisfied: decorator in /usr/local/lib/python3.7/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (4.4.2)
Requirement already satisfied: pickleshare in /usr/local/lib/python3.7/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (0.7.5)
Requirement already satisfied: setuptools>=18.5 in /usr/lib/python3/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (45.2.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /usr/local/lib/python3.7/dist-packages (from ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (3.0.7)
Requirement already satisfied: parso<0.8.0,>=0.7.0 in /usr/local/lib/python3.7/dist-packages (from jedi>=0.10->ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (0.7.1)
Requirement already satisfied: wcwidth in /usr/local/lib/python3.7/dist-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=5.0.0->ipykernel>=4.1->qtconsole==4.3.1->mu-editor) (0.2.5)
root@PC:/home/ia# mu-editor
Traceback (most recent call last):
  File "/usr/local/bin/mu-editor", line 5, in <module>
    from mu.app import run
  File "/usr/local/lib/python3.6/dist-packages/mu/app.py", line 29, in <module>
    from PyQt5.QtCore import QTimer, Qt
ModuleNotFoundError: No module named 'PyQt5.QtCore'
Добавлено через 11 минут
Сейчас по ошибке установил не тот PyQT5
Code
1
ERROR: mu-editor 1.0.3 has requirement pyqt5==5.14.1, but you'll have pyqt5 5.15.0 which is incompatible.
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# python3.6 -m pip install https://files.pythonhosted.org/packages/8e/24/ede6428359f913ed9cd1643dd5533aefeb5a2699cc95bea089de50ead586/pygame-1.9.6-cp36-cp36m-manylinux1_x86_64.whl
Requirement already satisfied: pygame==1.9.6 from https://files.pythonhosted.org/packages/8e/24/ede6428359f913ed9cd1643dd5533aefeb5a2699cc95bea089de50ead586/pygame-1.9.6-cp36-cp36m-manylinux1_x86_64.whl in /usr/local/lib/python3.6/dist-packages (1.9.6)
root@PC:/home/ia# python3.6 -m pip install https://files.pythonhosted.org/packages/45/32/341fa5b9fc010ff4e520efe7cdbad24e61890230cf4eb12c871f512ee456/PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl
Collecting PyQt5==5.15.0
  Downloading PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (76.6 MB)
     |█▎                              | 3.0 MB 1.4 MB/s eta 0:00:54^[[B^[[B^[     |█▌                              | 3.5 MB 1.4 MB/s eta 0:00:54^[[B^[[B^[     |████████████████████████████████| 76.6 MB 40 kB/s 
Requirement already satisfied: PyQt5-sip<13,>=12.8 in /usr/local/lib/python3.6/dist-packages (from PyQt5==5.15.0) (12.8.1)
ERROR: mu-editor 1.0.3 has requirement pyqt5==5.14.1, but you'll have pyqt5 5.15.0 which is incompatible.                                                 
Installing collected packages: PyQt5
  Attempting uninstall: PyQt5
    Found existing installation: PyQt5 5.14.1
    Not uninstalling pyqt5 at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'PyQt5'. No files were found to uninstall.
Successfully installed PyQt5-5.15.0
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
03.09.2020, 17:13
Помогаю со студенческими работами здесь

При установке криптопро на линукс требует LSB пакет
при установек крипто про на Centos 7 выдает следующую ошибку: Error: installation failed. LSB package may not be installed. Install...

При установке Windows XP ошибка error loading operation system а при установке Windows 7 код ошибки 0x0000007b
Доброго времени суток.Принесли со словами переустанови - полез и вот уже 3 день идет дело в том что при переустановке OC Windwos XP после...

Ошибка при запуске программы в терминале линукс
Запускаю программу (python3 /путь) запускается без проблем. Сделал файл исполняемым и ввожу в терминале команду$ str_format.ru выдает...

Какой Линукс самый легкий в установке?
Какой Линукс самый беспроблемный в установке?

ошибка адобе реадер при установке ошибка 1395 вроде
черт знает что никак не пойму с чего он выкидывает такую ошибку????


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
20
Ответ Создать тему
Новые блоги и статьи
SDL3 для Web (WebAssembly): Обработчик клика мыши в браузере ПК и касания экрана в браузере на мобильном устройстве
8Observer8 02.02.2026
Содержание блога Для начала пошагово создадим рабочий пример для подготовки к экспериментам в браузере ПК и в браузере мобильного устройства. Потом напишем обработчик клика мыши и обработчик. . .
Философия технологии
iceja 01.02.2026
На мой взгляд у человека в технических проектах остается роль генерального директора. Все остальное нейронки делают уже лучше человека. Они не могут нести предпринимательские риски, не могут. . .
SDL3 для Web (WebAssembly): Вывод текста со шрифтом TTF с помощью SDL3_ttf
8Observer8 01.02.2026
Содержание блога В этой пошаговой инструкции создадим с нуля веб-приложение, которое выводит текст в окне браузера. Запустим на Android на локальном сервере. Загрузим Release на бесплатный. . .
SDL3 для Web (WebAssembly): Сборка C/C++ проекта из консоли
8Observer8 30.01.2026
Содержание блога Если вы откроете примеры для начинающих на официальном репозитории SDL3 в папке: examples, то вы увидите, что все примеры используют следующие четыре обязательные функции, а. . .
SDL3 для Web (WebAssembly): Установка Emscripten SDK (emsdk) и CMake для сборки C и C++ приложений в Wasm
8Observer8 30.01.2026
Содержание блога Для того чтобы скачать Emscripten SDK (emsdk) необходимо сначало скачать и уставить Git: Install for Windows. Следуйте стандартной процедуре установки Git через установщик. . . .
SDL3 для Android: Подключение Box2D v3, физика и отрисовка коллайдеров
8Observer8 29.01.2026
Содержание блога Box2D - это библиотека для 2D физики для анимаций и игр. С её помощью можно определять были ли коллизии между конкретными объектами. Версия v3 была полностью переписана на Си, в. . .
Инструменты COM: Сохранение данный из VARIANT в файл и загрузка из файла в VARIANT
bedvit 28.01.2026
Сохранение базовых типов COM и массивов (одномерных или двухмерных) любой вложенности (деревья) в файл, с возможностью выбора алгоритмов сжатия и шифрования. Часть библиотеки BedvitCOM Использованы. . .
SDL3 для Android: Загрузка PNG с альфа-каналом с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 28.01.2026
Содержание блога SDL3 имеет собственные средства для загрузки и отображения PNG-файлов с альфа-каналом и базовой работы с ними. В этой инструкции используется функция SDL_LoadPNG(), которая. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru