Open cekcreator opened 5 months ago
@cekcreator thanks for raising this. The nitric CLI is a single binary distribution that we make available through a number of package managers and as a scripted install from our website, see: https://nitric.io/docs/reference/cli/installation, for macOS we offer install via brew
and the scripted curl
option should work as well. These install methods will also add the nitric
CLI to your systems PATH, allowing you to run the commands you mentioned.
The nitric
packaged you're installing above is our nitric language SDK for python: https://pypi.org/project/nitric/ this is just the interface for developing nitric applications with python and does not contain our CLI.
Let me know if that makes sense or if I have misunderstood the issue.
Bug Report
The bug is related to installing the nitric python CLI in a conda environment as well as outside one
Issue
Install try 1: I use conda as my env manager and I created a conda env with python 3.11 and ran
conda install nitric - did not find it but that could be because it is not on conda yet
pip install nitric
- workednitric new hello-world py-starter
- zsh could not find nitricSo I then restarted my shell and tried without a conda env. Outside of the conda env python version is 3.10. Ran these commands:
pip install nitric
- workednitric new hello-world py-starter
- zsh could not find nitricChecked my .zshrc and .bashrc (just in case) and could not find nitric in either, also ran:
pip index versions nitric
output is below:
Environment and setup information
Running on m2 Mac python 3.10/11 IDE is pycharm
Other info
If I just need to use pipenv please let me know!