Open stuaxo opened 4 years ago
I just hit this same issue when this package was installing in a virtualenv during the install for KlipperScreen.
Log:
Collecting vext.gi==0.7.4
Downloading vext.gi-0.7.4.tar.gz (2.9 kB)
Requirement already satisfied: vext>=0.7.4 in /home/pi/.KlipperScreen-env/lib/python3.7/site-packages (from vext.gi==0.7.4) (0.7.6)
Requirement already satisfied: ruamel.yaml>=0.11.10 in /home/pi/.KlipperScreen-env/lib/python3.7/site-packages (from vext>=0.7.4->vext.gi==0.7.4) (0.17.16)
Requirement already satisfied: ruamel.yaml.clib>=0.1.2 in /home/pi/.KlipperScreen-env/lib/python3.7/site-packages (from ruamel.yaml>=0.11.10->vext>=0.7.4->vext.gi==0.7.4) (0.2.6)
Skipping wheel build for vext.gi, due to binaries being disabled for it.
Installing collected packages: vext.gi
Running setup.py install for vext.gi ... error
ERROR: Command errored out with exit status 1:
command: /home/pi/.KlipperScreen-env/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r6c7xdcd/vext-gi_868e6b88ac224802bbe533544fad1682/setup.py'"' "'; __file__='"'"'/tmp/pip-install-r6c7xdcd/vext-gi_868e6b88ac224802bbe533544fad1682/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-8nt6z6ti/ install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/.KlipperScreen-env/include/site/python3.7/vext.gi
cwd: /tmp/pip-install-r6c7xdcd/vext-gi_868e6b88ac224802bbe533544fad1682/
Complete output (22 lines):
running install
vext.gi Install
running build
running install_data
creating /home/pi/.KlipperScreen-env/share/vext
creating /home/pi/.KlipperScreen-env/share/vext/specs
copying gi.vext -> /home/pi/.KlipperScreen-env/share/vext/specs
running install_egg_info
running egg_info
writing vext.gi.egg-info/PKG-INFO
writing dependency_links to vext.gi.egg-info/dependency_links.txt
writing requirements to vext.gi.egg-info/requires.txt
writing top-level names to vext.gi.egg-info/top_level.txt
reading manifest file 'vext.gi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.txt'
writing manifest file 'vext.gi.egg-info/SOURCES.txt'
Copying vext.gi.egg-info to /home/pi/.KlipperScreen-env/lib/python3.7/site-packages/vext.gi-0.7.4-py3.7.egg-info
running install_scripts
writing list of installed files to '/tmp/pip-record-8nt6z6ti/install-record.txt'
Install vext files:
error: [Errno 2] No such file or directory: 'vext': 'vext'
----------------------------------------
ERROR: Command errored out with exit status 1: /home/pi/.KlipperScreen-env/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-r6c7xdcd/vext-gi_868e6b88ac2 24802bbe533544fad1682/setup.py'"'"'; __file__='"'"'/tmp/pip-install-r6c7xdcd/vext-gi_868e6b88ac224802bbe533544fad1682/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exi sts(__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-8nt6z6ti/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/.KlipperScreen-env/include/site/python3.7/vext.gi Check the logs for full c ommand output.
I hit the same error installing KlipperScreen.
error: [Errno 2] No such file or directory: 'vext': 'vext'
Same here on a Raspberry Pi in a virtualenv (not installing KlipperScreen, but some other project)!
error: [Errno 2] No such file or directory: 'vext'
Edit: Initially, I was running
python3 -m venv venv
./venv/bin/pip install -U pip
./venv/bin/pip install -r requirements.txt
(requirements.txt contains a dependency that installs vext and vext.gi)
The problem was solved for me after deleting the venv and retrying, this time actually activating the virtualenv:
python3 -m venv venv
source venv/bin/activate
pip install -U pip
pip install -r requirements.txt
deactivate
I hope this helps someone ^-^
For me the error was non-fatal, but for everyone else on this ticket does is it non fatal, or does it stop the install, or prevent import of "gi" after install ?
Non fatal error for me and the install / update completes.
Regards Simon
On 15 Nov 2021, at 06:40, Stuart Axon @.***> wrote:
For me the error was non-fatal, but for everyone else on this ticket does is it non fatal, or does it stop the install, or prevent import of "gi" after install ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Non-fatal for me. KlipperScreen still worked fine despite the install error.
Non fatal error on install:
pipenv install vext.gi
still throws:error: [Errno 2] No such file or directory: 'vext'
Originally posted by @justyn in https://github.com/stuaxo/vext/issues/54#issuecomment-673567402