You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 - worked nitric new hello-world py-starter - zsh could not find nitric
So 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 - worked nitric new hello-world py-starter - zsh could not find nitric
Checked my .zshrc and .bashrc (just in case) and could not find nitric in either, also ran: pip index versions nitric
@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!
The text was updated successfully, but these errors were encountered: