What is the problem?
Trying to setup Octoprint via pip on Centos 7 server:
pip install octoprint -> "no matching distribution found for octoprint"
How can I fix this?
Thanks!
What did you already try to solve it?
[root@sircentos OctoPrint]# python --version
Python 2.7.5
(venv) [root@sircentos OctoPrint]# pip install pip --upgrade
Successfully installed pip-19.3.1
(venv) [root@sircentos OctoPrint]# pip install octoprint
DEPRECATION: Python 2.7 will reach [...]
ERROR: Could not find a version that satisfies the requirement octoprint (from versions: none)
ERROR: No matching distribution found for octoprint
(venv) [root@sircentos OctoPrint]# pip install octoprint==1.3.12
DEPRECATION: Python 2.7 will reach [...]
ERROR: Could not find a version that satisfies the requirement octoprint==1.3.12 (from versions: none)
ERROR: No matching distribution found for octoprint==1.3.12
(venv) [root@sircentos OctoPrint]# pip install --no-cache-dir octoprint
Collecting octoprint
Could not find a version that satisfies the requirement octoprint (from versions: )
No matching distribution found for octoprint
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)
[root@sircentos ~]# yum update
[...]
No packages marked for update
[root@sircentos ~]# yum install python-pip python-devel python-setuptools python-virtualenv git libyaml-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
- base: pkg.adfinis-sygroup.ch
- epel: pkg.adfinis-sygroup.ch
- extras: pkg.adfinis-sygroup.ch
- updates: pkg.adfinis-sygroup.ch
Package python2-pip-8.1.2-10.el7.noarch already installed and latest version
Package python-devel-2.7.5-86.el7.x86_64 already installed and latest version
Package python-setuptools-0.9.8-7.el7.noarch already installed and latest version
Package python-virtualenv-15.1.0-2.el7.noarch already installed and latest version
Package git-1.8.3.1-20.el7.x86_64 already installed and latest version
Package libyaml-devel-0.1.4-11.el7_0.x86_64 already installed and latest version
Nothing to do
I have installed too the "Development Tool" group.
[root@sircentos ~]# uname -a
Linux sircentos 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@sircentos ~]# cat /etc/system-release
CentOS Linux release 7.7.1908 (Core)