Made a ticket at https://github.com/peeringdb/peeringdb-py/issues/20 and looking into it now, apologies on the terribly late response here. * Paul Vlaar <pvlaar@afilias.info> [180913 14:37 +0200]:
Anyone running into this problem as well?
pvlaar@peeradmin:~$ virtualenv pdbvenv Running virtualenv with interpreter /usr/bin/python2 New python executable in /home/pvlaar/pdbvenv/bin/python2 Also creating executable in /home/pvlaar/pdbvenv/bin/python Installing setuptools, pkg_resources, pip, wheel...done. pvlaar@peeradmin:~$ . pdbvenv/bin/activate (pdbvenv) pvlaar@peeradmin:~$ (pdbvenv) pvlaar@peeradmin:~$ pip install peeringdb Collecting peeringdb Collecting PyYAML>=3.11 (from peeringdb) Collecting munge>=0.1.5 (from peeringdb) Collecting click>=5.1 (from peeringdb) Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f90... Collecting twentyc.rpc>=0.3.4 (from peeringdb) Collecting requests<3,>=2.6.0 (from munge>=0.1.5->peeringdb) Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60... Collecting future<1,>=0.15.2 (from munge>=0.1.5->peeringdb) Collecting six<2.0,>=1.10 (from twentyc.rpc>=0.3.4->peeringdb) Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8... Collecting certifi>=2017.4.17 (from requests<3,>=2.6.0->munge>=0.1.5->peeringdb) Using cached https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee6... Collecting chardet<3.1.0,>=3.0.2 (from requests<3,>=2.6.0->munge>=0.1.5->peeringdb) Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec... Collecting urllib3<1.24,>=1.21.1 (from requests<3,>=2.6.0->munge>=0.1.5->peeringdb) Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d9... Collecting idna<2.8,>=2.5 (from requests<3,>=2.6.0->munge>=0.1.5->peeringdb) Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355... Installing collected packages: PyYAML, certifi, chardet, urllib3, idna, requests, future, click, munge, six, twentyc.rpc, peeringdb Successfully installed PyYAML-3.13 certifi-2018.8.24 chardet-3.0.4 click-6.7 future-0.16.0 idna-2.7 munge-0.6.0 peeringdb-0.6.0 requests-2.19.1 six-1.11.0 twentyc.rpc-0.4.0 urllib3-1.23 (pdbvenv) pvlaar@peeradmin:~$ peeringdb conf_write config written to ~/.peeringdb (pdbvenv) pvlaar@peeradmin:~$ peeringdb depcheck Traceback (most recent call last): File "/home/pvlaar/pdbvenv/bin/peeringdb", line 11, in <module> sys.exit(cli()) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/peeringdb/cli.py", line 117, in depcheck install_deps(get_deps(engine)) File "/home/pvlaar/pdbvenv/local/lib/python2.7/site-packages/peeringdb/cli.py", line 18, in install_deps if pip.main(['install', pkg, '--quiet']): AttributeError: 'module' object has no attribute 'main' (pdbvenv) pvlaar@peeradmin:~$