Created
September 16, 2022 11:47
-
-
Save devo-wm/c0a28828757e4c58efeace677de6556d to your computer and use it in GitHub Desktop.
nix install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Projects nix-shell -E "$(curl -L https://reactivated.io/install/)" | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 434 100 434 0 0 761 0 --:--:-- --:--:-- --:--:-- 0 | |
Enter a project name | |
test-nix | |
Initialized empty Git repository in /Users/wml/Projects/test-nix/.git/ | |
Wrote to /Users/wml/Projects/test-nix/package.json: | |
{ | |
"name": "test-nix", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC" | |
} | |
added 511 packages, and audited 512 packages in 43s | |
94 packages are looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
created virtual environment CPython3.9.13.final.0-64 in 240ms | |
creator CPython3Posix(dest=/Users/wml/Projects/test-nix/.venv, clear=False, no_vcs_ignore=False, global=False) | |
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/wml/Library/Application Support/virtualenv) | |
added seed packages: pip==22.2.2, setuptools==65.1.1, wheel==0.37.1 | |
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator | |
Collecting Django==4.0.1 | |
Using cached Django-4.0.1-py3-none-any.whl (8.0 MB) | |
Collecting psycopg2-binary==2.9.3 | |
Using cached psycopg2-binary-2.9.3.tar.gz (380 kB) | |
Preparing metadata (setup.py) ... done | |
Collecting simplejson==3.16.0 | |
Using cached simplejson-3.16.0.tar.gz (81 kB) | |
Preparing metadata (setup.py) ... done | |
Collecting django-stubs==1.9.0 | |
Using cached django_stubs-1.9.0-py3-none-any.whl (401 kB) | |
Collecting mypy==0.910 | |
Using cached mypy-0.910-cp39-cp39-macosx_11_0_arm64.whl (8.4 MB) | |
Collecting black==22.3.0 | |
Using cached black-22.3.0-cp39-cp39-macosx_11_0_arm64.whl (1.2 MB) | |
Collecting isort==5.10.1 | |
Using cached isort-5.10.1-py3-none-any.whl (103 kB) | |
Collecting pytest==6.2.5 | |
Using cached pytest-6.2.5-py3-none-any.whl (280 kB) | |
Collecting pytest-django==4.5.2 | |
Using cached pytest_django-4.5.2-py3-none-any.whl (20 kB) | |
Collecting flake8==4.0.1 | |
Using cached flake8-4.0.1-py2.py3-none-any.whl (64 kB) | |
Collecting autoflake==1.4 | |
Using cached autoflake-1.4.tar.gz (22 kB) | |
Preparing metadata (setup.py) ... done | |
Collecting gunicorn==20.1.0 | |
Using cached gunicorn-20.1.0-py3-none-any.whl (79 kB) | |
Collecting dj-database-url==0.5.0 | |
Using cached dj_database_url-0.5.0-py2.py3-none-any.whl (5.5 kB) | |
ERROR: Could not find a version that satisfies the requirement reactivated==0.27.2 (from versions: 0.0.1a0, 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.1.0, 0.1.1, 0.1.2, 0.2.0b1, 0.2.0b2, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0b0, 0.5.0b2, 0.5.0b3, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.10.0, 0.11.0a23, 0.11.0a25, 0.11.0a28, 0.11.0a30, 0.11.0a32, 0.11.0a35, 0.11.0a36, 0.11.0a41, 0.11.0a43, 0.11.0a46, 0.11.0, 0.12.0a47, 0.12.0a49, 0.12.0a51, 0.12.0, 0.12.1a52, 0.12.1a59, 0.12.1a73, 0.12.1a76, 0.12.1a78, 0.12.1, 0.13.0a82, 0.13.0, 0.13.1a86, 0.13.1, 0.13.2a96, 0.13.2a98, 0.13.2a100, 0.13.2, 0.14.0a107, 0.14.0a116, 0.14.0a119, 0.14.0a126, 0.14.0, 0.15.0a130, 0.15.0a133, 0.15.0a134, 0.15.0a136, 0.15.0a140, 0.15.0a142, 0.15.0a143, 0.15.0a147, 0.15.0, 0.16.0a152, 0.16.0a159, 0.16.0a161, 0.16.0, 0.17.0a168, 0.17.0a169, 0.17.0a170, 0.17.0a171, 0.17.0a172, 0.17.0a176, 0.17.0, 0.18.0a181, 0.18.0a182, 0.18.0a186, 0.18.0a188, 0.18.0, 0.19.0a193, 0.19.0a194, 0.19.0a197, 0.19.0, 0.20.0a202, 0.20.0, 0.20.1a208, 0.20.1a212, 0.20.1a213, 0.20.1a214, 0.20.1a220, 0.20.1a223, 0.20.1a233, 0.20.1a258, 0.20.1a259, 0.20.1a262, 0.20.1a270, 0.20.1a281, 0.20.1a284, 0.20.1a287, 0.20.1a292, 0.20.1a297, 0.20.1a301, 0.20.1a307, 0.20.1a331, 0.20.1a338, 0.20.1a344, 0.20.1a348, 0.20.1a351, 0.20.1a354, 0.20.1a356, 0.20.1a373, 0.20.1a376, 0.20.1a381, 0.20.1a384, 0.20.1a387, 0.20.1a392, 0.20.1a397, 0.20.1a407, 0.20.1a411, 0.20.1a413, 0.20.1a415, 0.20.1a419, 0.20.1a421, 0.20.1a423, 0.20.1a454, 0.20.1a460, 0.20.1a465, 0.20.1a469, 0.20.1a471, 0.20.1a473, 0.20.1a490, 0.20.1a501, 0.20.1a512, 0.20.1a514, 0.20.1a515, 0.20.1a518, 0.20.1a520, 0.20.1a525, 0.20.1a562, 0.20.1a564, 0.20.1a566, 0.20.1a585, 0.20.1a586, 0.20.1a587, 0.20.1a590, 0.20.1a592, 0.20.1a594, 0.20.1a595, 0.20.1a596, 0.20.1a597, 0.20.1a598, 0.20.1a599, 0.20.1a600, 0.20.1a601, 0.20.1a602, 0.20.1a603, 0.20.1a604, 0.20.1a605, 0.20.1a606, 0.20.1a609, 0.20.1a610, 0.20.1a633, 0.20.1a637, 0.20.1a638, 0.20.1a639, 0.20.1a641, 0.20.1a676, 0.20.1a677, 0.20.1a678, 0.20.1a685, 0.20.1a692, 0.20.1a698, 0.20.1a706, 0.20.1a707, 0.20.1a708, 0.20.1a709, 0.20.1a710, 0.20.1a711, 0.20.1a712, 0.20.1a713, 0.20.1a714, 0.20.1a715, 0.20.1a716, 0.20.1a719, 0.20.1a720, 0.20.1a721, 0.20.1a729, 0.20.1a733, 0.20.1a734, 0.20.1a735, 0.20.1a736, 0.20.1a737, 0.20.1a738, 0.20.1a749, 0.20.1, 0.21.0a760, 0.21.0a766, 0.21.0a774, 0.21.0a777, 0.21.0a782, 0.21.0a786, 0.21.0, 0.22.0a794, 0.22.0a798, 0.22.0a803, 0.22.0a809, 0.22.0a815, 0.22.0a823, 0.22.0a824, 0.22.0a825, 0.22.0a839, 0.22.0a846, 0.22.0, 0.23.0a872, 0.23.0a875, 0.23.0a884, 0.23.0a885, 0.23.0a886, 0.23.0a887, 0.23.0a888, 0.23.0a889, 0.23.0a890, 0.23.0a892, 0.23.0a893, 0.23.0a894, 0.23.0a895, 0.23.0a896, 0.23.0a897, 0.23.0a899, 0.23.0a910, 0.23.0a911, 0.23.0a916, 0.23.0a919, 0.23.0a920, 0.23.0a921, 0.23.0a923, 0.23.0, 0.24.0a934, 0.24.0a946, 0.24.0a949, 0.24.0a952, 0.24.0a956, 0.24.0a957, 0.24.0a961, 0.24.0a967, 0.24.0a970, 0.24.0a971, 0.24.0a973, 0.24.0, 0.24.1a986, 0.24.1, 0.24.2a1007, 0.24.2a1010, 0.24.2, 0.25.0a1035, 0.25.0a1043, 0.25.0a1045, 0.25.0a1046, 0.25.0a1053, 0.25.0a1060, 0.25.0a1062, 0.25.0a1073, 0.25.0, 0.26.0a1130, 0.26.0a1134, 0.26.0a1136, 0.26.0a1137, 0.26.0a1139, 0.26.0a1161, 0.26.0a1170, 0.26.0, 0.27.0a1174, 0.27.0a1177, 0.27.0, 0.27.1a1182, 0.27.1a1198, 0.27.1a1204, 0.27.1a1208, 0.27.1a1210, 0.27.1a1212, 0.27.1a1219, 0.27.1a1225, 0.27.1a1228, 0.27.1a1230, 0.27.1a1231, 0.27.1a1234, 0.27.1a1236, 0.27.1a1238, 0.27.1a1241, 0.27.1a1244, 0.27.1, 3.0.0a64) | |
ERROR: No matching distribution found for reactivated==0.27.2 | |
[notice] A new release of pip available: 22.1.2 -> 22.2.2 | |
[notice] To update, run: pip install --upgrade pip | |
The files belonging to this database system will be owned by user "wml". | |
This user must also own the server process. | |
The database cluster will be initialized with locale "C". | |
The default database encoding has accordingly been set to "SQL_ASCII". | |
The default text search configuration will be set to "english". | |
Data page checksums are disabled. | |
creating directory /Users/wml/Projects/test-nix/.venv/postgresql ... ok | |
creating subdirectories ... ok | |
selecting dynamic shared memory implementation ... posix | |
selecting default max_connections ... 100 | |
selecting default shared_buffers ... 128MB | |
selecting default time zone ... UTC | |
creating configuration files ... ok | |
running bootstrap script ... ok | |
performing post-bootstrap initialization ... sh: locale: command not found | |
2022-09-16 11:42:24.793 UTC [41534] WARNING: no usable system locales were found | |
ok | |
syncing data to disk ... ok | |
initdb: warning: enabling "trust" authentication for local connections | |
You can change this by editing pg_hba.conf or using the option -A, or | |
--auth-local and --auth-host, the next time you run initdb. | |
Success. You can now start the database server using: | |
pg_ctl -D /Users/wml/Projects/test-nix/.venv/postgresql -l logfile start | |
Traceback (most recent call last): | |
File "/Users/wml/Projects/test-nix/manage.py", line 11, in main | |
from django.core.management import execute_from_command_line | |
ModuleNotFoundError: No module named 'django' | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/Users/wml/Projects/test-nix/manage.py", line 22, in <module> | |
main() | |
File "/Users/wml/Projects/test-nix/manage.py", line 13, in main | |
raise ImportError( | |
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment