ziirish / ghostricon Goto Github PK
View Code? Open in Web Editor NEWCompanion GUI app for CyberGhost VPN
License: MIT License
Companion GUI app for CyberGhost VPN
License: MIT License
Hello,
i just started using Ubuntu and wanted your GUI for CyberGhost but i get an Error when installing it.
So i have Python 3.8.10, i installed poetry and followed your commands.
After i sent poetry install i get:
**frank-ubuntu@Frank-Ubuntu ~/ghostricon (main)> poetry install
Creating virtualenv ghostricon-J6Ul8hpv-py3.8 in /home/frank-ubuntu/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
Package operations: 15 installs, 0 updates, 0 removals
• Installing attrs (21.2.0)
• Installing async-generator (1.10)
• Installing h11 (0.12.0)
• Installing idna (3.1)
• Installing outcome (1.1.0)
• Installing pycairo (1.19.1): Failed
EnvCommandError
Command ['/home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/bin/pip', 'install', '--no-deps', 'file:///home/frank-ubuntu/.cache/pypoetry/artifacts/e9/36/81/3edc3325b49119c11471fc07cfbb7c5daea8528775ca4353080e255e5c/pycairo-1.19.1.tar.gz'] errored with the following return code 1, and output:
Processing /home/frank-ubuntu/.cache/pypoetry/artifacts/e9/36/81/3edc3325b49119c11471fc07cfbb7c5daea8528775ca4353080e255e5c/pycairo-1.19.1.tar.gz
Building wheels for collected packages: pycairo
Building wheel for pycairo (setup.py): started
Building wheel for pycairo (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-kj8dt8yc/setup.py'"'"'; file='"'"'/tmp/pip-req-build-kj8dt8yc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_ax805bg
cwd: /tmp/pip-req-build-kj8dt8yc/
Complete output (15 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cairo
copying cairo/init.py -> build/lib.linux-x86_64-3.8/cairo
copying cairo/init.pyi -> build/lib.linux-x86_64-3.8/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-3.8/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1. ---------------------------------------- ERROR: Failed building wheel for pycairo Running setup.py clean for pycairo Failed to build pycairo Installing collected packages: pycairo Running setup.py install for pycairo: started Running setup.py install for pycairo: finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-kj8dt8yc/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-kj8dt8yc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-u0632x2e/install-record.txt --single-version-externally-managed --compile --install-headers /home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/include/site/python3.8/pycairo cwd: /tmp/pip-req-build-kj8dt8yc/ Complete output (15 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/cairo copying cairo/__init__.py -> build/lib.linux-x86_64-3.8/cairo copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.8/cairo copying cairo/py.typed -> build/lib.linux-x86_64-3.8/cairo running build_ext Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing
cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: /home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-kj8dt8yc/setup.py'"'"'; file='"'"'/tmp/pip-req-build-kj8dt8yc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-u0632x2e/install-record.txt --single-version-externally-managed --compile --install-headers /home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/include/site/python3.8/pycairo Check the logs for full command output.
WARNING: You are using pip version 21.2.4; however, version 21.3 is available.
You should consider upgrading via the '/home/frank-ubuntu/.cache/pypoetry/virtualenvs/ghostricon-J6Ul8hpv-py3.8/bin/python -m pip install --upgrade pip' command.
at ~/.poetry/lib/poetry/utils/env.py:1183 in run
1179│ output = subprocess.check_output(
1180│ cmd, stderr=subprocess.STDOUT, **kwargs
1181│ )
1182│ except CalledProcessError as e:
→ 1183│ raise EnvCommandError(e, input=input)
1184│
1185│ return decode(output)
1186│
1187│ def execute(self, bin, *args, **kwargs):
• Installing sniffio (1.2.0)
• Installing sortedcontainers (2.4.0)
frank-ubuntu@Frank-Ubuntu ~/ghostricon (main) [1]> pip install pycairo
Requirement already satisfied: pycairo in /usr/lib/python3/dist-packages (1.16.2)
frank-ubuntu@Frank-Ubuntu ~/ghostricon (main)>**
Regarding the failed pycario installation process at the beginning, i already checked and i have pycairo 1.20 installed.
When i then try to run the ./bin/ghostricon command i get the error that no module with that name is installed.
Can you help me out here?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.