Answer the question
In order to leave comments, you need to log in
How to install aiogram module on synology?
Hello everyone, help me install aiogram on synology.
I tried to install it through an python3 -m pip install aiogram
error that is on the screen.
Installation code from console
ash-4.3# python3 -m pip install aiogram
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Ple ase upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will dro p support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Collecting aiogram
Using cached aiogram-2.14.3-py3-none-any.whl (182 kB)
Collecting Babel>=2.8.0
Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting aiogram
Using cached aiogram-2.14.2-py3-none-any.whl (182 kB)
Using cached aiogram-2.14.1-py3-none-any.whl (182 kB)
Using cached aiogram-2.14-py3-none-any.whl (182 kB)
Using cached aiogram-2.13-py3-none-any.whl (179 kB)
Using cached aiogram-2.12.1-py3-none-any.whl (177 kB)
Using cached aiogram-2.12-py3-none-any.whl (177 kB)
Using cached aiogram-2.11.2-py3-none-any.whl (171 kB)
Using cached aiogram-2.11.1-py3-none-any.whl (171 kB)
Using cached aiogram-2.11-py3-none-any.whl (171 kB)
Using cached aiogram-2.10.1-py3-none-any.whl (163 kB)
Collecting certifi>=2019.3.9
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting aiogram
Using cached aiogram-2.10-py3-none-any.whl (163 kB)
Using cached aiogram-2.9.2-py3-none-any.whl (158 kB)
Using cached aiogram-2.9-py3-none-any.whl (160 kB)
Using cached aiogram-2.8-py3-none-any.whl (159 kB)
Using cached aiogram-2.7-py3-none-any.whl (158 kB)
Using cached aiogram-2.6.1-py3-none-any.whl (156 kB)
Using cached aiogram-2.6-py3-none-any.whl (155 kB)
Using cached aiogram-2.5.3-py3-none-any.whl (154 kB)
Using cached aiogram-2.5.2-py3-none-any.whl (154 kB)
Using cached aiogram-2.5.1-py3-none-any.whl (154 kB)
Using cached aiogram-2.5-py3-none-any.whl (154 kB)
Using cached aiogram-2.4-py3-none-any.whl (150 kB)
Using cached aiogram-2.3-py3-none-any.whl (149 kB)
Using cached aiogram-2.2-py3-none-any.whl (144 kB)
Using cached aiogram-2.1-py3-none-any.whl (139 kB)
Using cached aiogram-2.0.1-py3-none-any.whl (133 kB)
Using cached aiogram-2.0-py3-none-any.whl (130 kB)
Using cached aiogram-1.4-py3-none-any.whl (118 kB)
Using cached aiogram-1.3.3-py3-none-any.whl (112 kB)
Using cached aiogram-1.3.2-py3-none-any.whl (112 kB)
Using cached aiogram-1.3.1-py3-none-any.whl (112 kB)
Using cached aiogram-1.3-py3-none-any.whl (113 kB)
Using cached aiogram-1.2.3-py3-none-any.whl (114 kB)
Collecting aiohttp>=2.3.5
Using cached aiohttp-2.3.10-cp35-cp35m-manylinux1_x86_64.whl (649 kB)
Collecting multidict>=4.0.0
Using cached multidict-5.0.2.tar.gz (53 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting yarl>=1.0.0
Using cached yarl-1.6.0-cp35-cp35m-manylinux1_x86_64.whl (252 kB)
Collecting async-timeout>=1.2.0
Using cached async_timeout-2.0.1-py3-none-any.whl (5.9 kB)
Collecting idna-ssl>=1.0.0
Using cached idna_ssl-1.1.0-py3-none-any.whl
Collecting chardet
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting pytz>=2015.7
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting idna>=2.0
Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting typing-extensions>=3.7.4
Using cached typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Building wheels for collected packages: multidict
Building wheel for multidict (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp4t0xwf66
cwd: /tmp/pip-install-1b8i_izi/multidict_27cdd393379f4e80adc029e7995376ad
Complete output (43 lines):
**********************
* Accellerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.5
creating build/lib.linux-x86_64-3.5/multidict
copying multidict/_multidict_py.py -> build/lib.linux-x86_64-3.5/multidict
copying multidict/_multidict_base.py -> build/lib.linux-x86_64-3.5/multidict
copying multidict/_compat.py -> build/lib.linux-x86_64-3.5/multidict
copying multidict/_abc.py -> build/lib.linux-x86_64-3.5/multidict
copying multidict/__init__.py -> build/lib.linux-x86_64-3.5/multidict
running egg_info
writing multidict.egg-info/PKG-INFO
writing top-level names to multidict.egg-info/top_level.txt
writing dependency_links to multidict.egg-info/dependency_links.txt
reading manifest file 'multidict.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict/_multidict.html'
warning: no previously-included files found matching 'multidict/*.so'
warning: no previously-included files found matching 'multidict/*.pyd'
warning: no previously-included files found matching 'multidict/*.pyd'
no previously-included directories found matching 'docs/_build'
writing manifest file 'multidict.egg-info/SOURCES.txt'
copying multidict/__init__.pyi -> build/lib.linux-x86_64-3.5/multidict
copying multidict/_multidict.c -> build/lib.linux-x86_64-3.5/multidict
copying multidict/py.typed -> build/lib.linux-x86_64-3.5/multidict
creating build/lib.linux-x86_64-3.5/multidict/_multilib
copying multidict/_multilib/defs.h -> build/lib.linux-x86_64-3.5/multidict/_multilib
copying multidict/_multilib/dict.h -> build/lib.linux-x86_64-3.5/multidict/_multilib
copying multidict/_multilib/istr.h -> build/lib.linux-x86_64-3.5/multidict/_multilib
copying multidict/_multilib/iter.h -> build/lib.linux-x86_64-3.5/multidict/_multilib
copying multidict/_multilib/pair_list.h -> build/lib.linux-x86_64-3.5/multidict/_multilib
copying multidict/_multilib/views.h -> build/lib.linux-x86_64-3.5/multidict/_multilib
running build_ext
building 'multidict._multidict' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/multidict
/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DSYNO_FIX_FLAG_BUG -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_X86_64 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -DSDK_VER_MIN_REQUIRED=600 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -I/volume1/@appstore/py3k/usr/local/include/python3.5m -c multidict/_multidict.c -o build/temp.linux-x86_64-3.5/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
error: command '/usr/local/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ccache-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly
Answer the question
In order to leave comments, you need to log in
I want to confirm and add a little to the answer of Alan Gibizov - you should not try to collect anything serious in synology. If something is missing in Entware/Optware, it's better to forget-understand-forgive than trying to fence off a Potemkin village.
The fact is that synology can be called linux only by duck typing - it contains the Linux kernel, it contains /etc and /bin - which means it is Linux.
Nigrenashenki.
It is something similar to Linux. Yes, entware/optware packages are put into it. Yes, it can build a simple package like nrpe or nagios-plugins. But try to assemble something global in it - like samba - 9 out of 10, that it will end with forced formatting of the screws in another computer and reinstalling DSM.
Why?
Because synology is not designed for tasks that are not solved by packages installed via DSM. Installing a python, for example, a normal python, and not that terrible IOB that is by default, turned out only on the third run, and then with the help of "a saw, an ax and some kind of mother."
All installed packages from synology here are cut to the very worst. This applies to both sssd and samba and God knows what else (which I haven't tested). What is solved in Linux with a half-kick, for example, domain authentication by groups in an FTP server - here it turns into something elephant-like, which simply drops the system ...
Synology is a shelf. Just a storage shelf. No need to drag it to the globe :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question