qira icon indicating copy to clipboard operation
qira copied to clipboard

Tries to activate nonexistent virtualenv

Open mikedesu opened this issue 8 years ago • 2 comments

Mike@masamune[18:22:42] ~/src/qira $ ./qira ../c/a.out 
./qira: line 17: ./venv/bin/activate: No such file or directory

Not sure why it does this. Looking forward to actually playing with qira once I figure out why this is happening. I shouldn't have to manually create a virtualenv for it if that is all it takes.

mikedesu avatar Apr 15 '16 23:04 mikedesu

Did you run the install script? We use a virtualenv to avoid polluting the user's pip packages.

nedwill avatar Apr 15 '16 23:04 nedwill

Sorry it has taken me a while to get back to this.

Upon running the install.sh script, I am greeted with the following:

Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c "import setuptools, tokenize;__file__='/private/var/folders/fm/by0tqgvx4gs8s6_chhr9d_rh0000gn/T/pip-build-UCKZ65/html/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/fm/by0tqgvx4gs8s6_chhr9d_rh0000gn/T/pip-ldHNnv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/fm/by0tqgvx4gs8s6_chhr9d_rh0000gn/T/pip-build-UCKZ65/html/

Upon attempting to run the script with sudo, I get:

$ sudo ./install.sh
Password:
Installing OS X dependencies
Error: Cowardly refusing to 'sudo brew update'
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.

I believe I originally wanted to try running just the executable since I could not install qira due to this error. Do you have any ideas?

mikedesu avatar Aug 10 '16 18:08 mikedesu