Mar-10-2018, 11:11 PM
Iv made a few little programs that i use on my comp (Linux/Manjaro) but they all show up in the running process list as just "Python" , on windows i would just compile them with py2exe and they would run as .exe's and show as themselves under the process list.
Iv tried pyinstaller but i cant get it to install/work? (see below).
Also tried py_compile which does create a .pyc under __pycache__/ but it wont run with ./mycode.pyc and if i use pythpn mycode.pyc then it just shows up as a "python" process again instead on "mycode" or "mycode.pyc".
It must be that i'm missing something really simple cos i'm a dumb ass noob but i cant figure it.
P.S. i'm not really talking about making an installation package, i have not got that far yet on linux.
pyinstaller problems (BASH CODE):-
Iv tried pyinstaller but i cant get it to install/work? (see below).
Also tried py_compile which does create a .pyc under __pycache__/ but it wont run with ./mycode.pyc and if i use pythpn mycode.pyc then it just shows up as a "python" process again instead on "mycode" or "mycode.pyc".
It must be that i'm missing something really simple cos i'm a dumb ass noob but i cant figure it.
P.S. i'm not really talking about making an installation package, i have not got that far yet on linux.
pyinstaller problems (BASH CODE):-
❰greg❙~/PycharmProjects/octo-notifier-working❱✔≻ pyinstaller octo-notifier.py Traceback (most recent call last): File "/usr/bin/pyinstaller", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3147, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3131, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3160, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 666, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 984, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 870, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'macholib>=1.8' distribution was not found and is required by PyInstallerSo i try to install aur/python-macholib 1.9-1 (BASH CODE):-
Traceback (most recent call last): File "setup.py", line 532, in <module> use_setuptools() File "setup.py", line 433, in use_setuptools return _do_download(os.path.abspath(os.curdir)) File "setup.py", line 420, in _do_download tarball = download_setuptools(packagename, to_dir) File "setup.py", line 443, in download_setuptools chksum, url = get_pypi_src_download(packagename) File "setup.py", line 317, in get_pypi_src_download raise RuntimeError("Cannot determine downlink link for %s"%(package,)) RuntimeError: Cannot determine downlink link for setuptools ==> ERROR: A failure occurred in package_python2-macholib(). Aborting... ==> ERROR: Makepkg was unable to build python-macholib.Way out of my depth now