Skip to content

Instantly share code, notes, and snippets.

@nickfun
Created January 31, 2019 00:25
Show Gist options
  • Save nickfun/9ee443050e3df1b1ac5340af0b463538 to your computer and use it in GitHub Desktop.
Save nickfun/9ee443050e3df1b1ac5340af0b463538 to your computer and use it in GitHub Desktop.
lektor install trouble
nfunnell@3778 ~
04:10 PM $ curl -sf https://www.getlektor.com/install.sh | sudo sh
Password:
Sorry, try again.
Password:
Welcome to Lektor
This script will install Lektor on your computer.
Lektor seems to be installed already.
Continuing will delete:
/usr/local/lib/lektor
and remove this symlink:
/usr/local/bin/lektor
Continue? [Yn]
Installing at:
bin: /usr/local/bin
app: /usr/local/lib/lektor
Continue? [Yn]
/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file './src/virtualenv.py': [Errno 2] No such file or directory
Using base prefix '/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7'
New python executable in /usr/local/lib/lektor/bin/python3.7
Also creating executable in /usr/local/lib/lektor/bin/python
Installing setuptools, pip, wheel...
done.
The directory '/Users/nfunnell/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/nfunnell/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting Lektor
Downloading https://files.pythonhosted.org/packages/c3/55/611df4ea8a93e56c2cdba1f22d865fa19354959b949f90d56acc75e826ee/Lektor-3.1.3-py2.py3-none-any.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 2.3MB/s
Collecting requests[security] (from Lektor)
Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
100% |████████████████████████████████| 61kB 9.4MB/s
Collecting Jinja2>=2.4 (from Lektor)
Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB)
100% |████████████████████████████████| 133kB 14.2MB/s
Collecting EXIFRead (from Lektor)
Collecting mistune>=0.7.0 (from Lektor)
Downloading https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
Collecting Babel (from Lektor)
Downloading https://files.pythonhosted.org/packages/b8/ad/c6f60602d3ee3d92fbed87675b6fb6a6f9a38c223343ababdb44ba201f10/Babel-2.6.0-py2.py3-none-any.whl (8.1MB)
100% |████████████████████████████████| 8.1MB 1.4MB/s
Collecting watchdog (from Lektor)
Collecting Flask (from Lektor)
Downloading https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91kB)
100% |████████████████████████████████| 92kB 11.7MB/s
Collecting click>=6.0 (from Lektor)
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
100% |████████████████████████████████| 81kB 23.0MB/s
Collecting inifile (from Lektor)
Requirement already satisfied, skipping upgrade: pip in /usr/local/lib/lektor/lib/python3.7/site-packages (from Lektor) (19.0.1)
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/lektor/lib/python3.7/site-packages (from Lektor) (40.7.1)
Collecting idna<2.9,>=2.5 (from requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 10.5MB/s
Collecting certifi>=2017.4.17 (from requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl (154kB)
100% |████████████████████████████████| 163kB 1.1MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB 1.2MB/s
Collecting urllib3<1.25,>=1.21.1 (from requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB)
100% |████████████████████████████████| 122kB 13.4MB/s
Collecting cryptography>=1.3.4; extra == "security" (from requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/d7/9e/12bb10fd009b0146935c169cc0e1e86221eacf8dc207990d54b783c47a7d/cryptography-2.5-cp34-abi3-macosx_10_6_intel.whl (1.7MB)
100% |████████████████████████████████| 1.7MB 1.1MB/s
Collecting pyOpenSSL>=0.14; extra == "security" (from requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
100% |████████████████████████████████| 61kB 36.4MB/s
Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Lektor)
Downloading https://files.pythonhosted.org/packages/96/52/eef455862764cb6d6c136aa52c7f9fc4e7c1c644790a7107b1244a2b8a53/MarkupSafe-1.1.0-cp37-cp37m-macosx_10_6_intel.whl
Collecting pytz>=0a (from Babel->Lektor)
Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB)
100% |████████████████████████████████| 512kB 1.2MB/s
Collecting PyYAML>=3.10 (from watchdog->Lektor)
Collecting pathtools>=0.1.1 (from watchdog->Lektor)
Collecting argh>=0.24.1 (from watchdog->Lektor)
Downloading https://files.pythonhosted.org/packages/06/1c/e667a7126f0b84aaa1c56844337bf0ac12445d1beb9c8a6199a7314944bf/argh-0.26.2-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from Flask->Lektor)
Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Werkzeug>=0.14 (from Flask->Lektor)
Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
100% |████████████████████████████████| 327kB 4.6MB/s
Collecting asn1crypto>=0.21.0 (from cryptography>=1.3.4; extra == "security"->requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
100% |████████████████████████████████| 102kB 9.1MB/s
Collecting six>=1.4.1 (from cryptography>=1.3.4; extra == "security"->requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=1.3.4; extra == "security"->requests[security]->Lektor)
Downloading https://files.pythonhosted.org/packages/0b/ba/32835c9965d8a0090723e1d0b47373365525c4bd08c807b5efdc9fecbc99/cffi-1.11.5-cp37-cp37m-macosx_10_9_x86_64.whl (163kB)
100% |████████████████████████████████| 163kB 1.2MB/s
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=1.3.4; extra == "security"->requests[security]->Lektor)
Installing collected packages: idna, certifi, chardet, urllib3, asn1crypto, six, pycparser, cffi, cryptography, pyOpenSSL, requests, MarkupSafe, Jinja2, EXIFRead, mistune, pytz, Babel, PyYAML, pathtools, argh, watchdog, itsdangerous, click, Werkzeug, Flask, inifile, Lektor
The script chardetect is installed in '/usr/local/lib/lektor/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script pybabel is installed in '/usr/local/lib/lektor/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script watchmedo is installed in '/usr/local/lib/lektor/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script flask is installed in '/usr/local/lib/lektor/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The script lektor is installed in '/usr/local/lib/lektor/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Babel-2.6.0 EXIFRead-2.1.2 Flask-1.0.2 Jinja2-2.10 Lektor-3.1.3 MarkupSafe-1.1.0 PyYAML-3.13 Werkzeug-0.14.1 argh-0.26.2 asn1crypto-0.24.0 certifi-2018.11.29 cffi-1.11.5 chardet-3.0.4 click-7.0 cryptography-2.5 idna-2.8 inifile-0.4 itsdangerous-1.1.0 mistune-0.8.4 pathtools-0.1.2 pyOpenSSL-19.0.0 pycparser-2.19 pytz-2018.9 requests-2.21.0 six-1.12.0 urllib3-1.24.1 watchdog-0.9.0
All done!
nfunnell@3778 ~
04:19 PM $ lektor
Traceback (most recent call last):
File "/usr/local/bin/lektor", line 6, in <module>
from lektor.cli import main
ModuleNotFoundError: No module named 'lektor'
nfunnell@3778 ~
04:23 PM $ which lektor
/usr/local/bin/lektor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment