Gentoo Bot doesn't work
I've got a gentoo-server with python 2.7.10 installed.
sqlite useflag fpr python is set.
When cloning and pip install -r requirements.txt the follwing errors appear:
remote: Counting objects: 1523, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 1523 (delta 14), reused 0 (delta 0), pack-reused 1490
Empfange Objekte: 100% (1523/1523), 814.60 KiB | 335.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (789/789), Fertig.
Prüfe Konnektivität ... Fertig.
/usr/lib64/python2.7/site-packages/requests/packages/urllib3/contrib/socks.py:31: DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks. For more information, see https://urllib3.readthedocs.org/en/latest/contrib.html#socks-proxies
DependencyWarning
Obtaining pgoapi from git+git://github.com/tejado/pgoapi.git@1f25e907f3e5f1b603330e71041e1ad7bee7580f#egg=pgoapi (from -r requirements.txt (line 1))
Cloning git://github.com/tejado/pgoapi.git (to 1f25e907f3e5f1b603330e71041e1ad7bee7580f) to ./src/pgoapi
Could not find a tag or branch '1f25e907f3e5f1b603330e71041e1ad7bee7580f', assuming commit.
Requirement already satisfied (use --upgrade to upgrade): geopy==1.11.0 in /usr/lib64/python2.7/site-packages (from -r requirements.txt (line 2))
Collecting protobuf==3.0.0b4 (from -r requirements.txt (line 3))
Using cached protobuf-3.0.0b4.tar.gz
Requirement already satisfied (use --upgrade to upgrade): requests==2.10.0 in /usr/lib64/python2.7/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): s2sphere==0.2.4 in /usr/lib64/python2.7/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): gpsoauth==0.3.0 in /usr/lib64/python2.7/site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): protobuf-to-dict==0.1.0 in /usr/lib64/python2.7/site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): googlemaps==2.4.4 in /usr/lib64/python2.7/site-packages (from -r requirements.txt (line 8))
Collecting colorama==0.3.7 (from -r requirements.txt (line 9))
Using cached colorama-0.3.7-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): six>=1.9 in /usr/lib64/python2.7/site-packages (from protobuf==3.0.0b4->-r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib64/python2.7/site-packages (from protobuf==3.0.0b4->-r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): future in /usr/lib64/python2.7/site-packages (from s2sphere==0.2.4->-r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): pycryptodomex>=3.0 in /usr/lib64/python2.7/site-packages (from gpsoauth==0.3.0->-r requirements.txt (line 6))
Installing collected packages: protobuf, pgoapi, colorama
Found existing installation: protobuf 2.6.1
Uninstalling protobuf-2.6.1:
Successfully uninstalled protobuf-2.6.1
Running setup.py install for protobuf
Complete output from command /usr/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-i1onX2/protobuf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-JSj5gH-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
protoc is not installed nor found in ../src. Please compile it or install the binary package.
Generating google/protobuf/pyext/python_pb2.py...
----------------------------------------
Rolling back uninstall of protobuf
Command "/usr/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-i1onX2/protobuf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-JSj5gH-record/install-record.txt --single-version-externally-managed --compile" failed with error code 255 in /tmp/pip-build-i1onX2/protobuf
@alexanderrock consider using virtualenv
@alexanderrock did you install protobuf?
portage install protobuf
Just emerging the following two: dev-libs/protobuf dev-python/protobuf-python
Also it says that pysqlite or sqlite are not installed. Also recompiled python with sqlite useflag.
File "/usr/lib64/python2.7/site-packages/peewee.py", line 3402, in connect
**self.connect_kwargs)
File "/usr/lib64/python2.7/site-packages/peewee.py", line 3657, in _connect
raise ImproperlyConfigured('pysqlite or sqlite3 must be installed.')
peewee.ImproperlyConfigured: pysqlite or sqlite3 must be installed.
now its working after the emerge
@alexanderrock if its working please close the issue
@alexanderrock I assume its working, closing the issue. Please feel free the open a new issue when necessary!