Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install nitric in conda environment #138

Open
cekcreator opened this issue Jun 6, 2024 · 1 comment
Open

Can't install nitric in conda environment #138

cekcreator opened this issue Jun 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cekcreator
Copy link

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 - 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

output is below:

nitric (0.12.0)
Available versions: 0.12.0, 0.11.0, 0.10.0, 0.9.2, 0.9.1, 0.8.2, 0.8.1, 0.8.0, 0.7.0, 0.6.0, 0.4.3, 0.4.2, 0.3.0, 0.2.1, 0.2.0, 0.1.1, 0.1.0
  INSTALLED: 0.12.0
  LATEST:    0.12.0

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!

@cekcreator cekcreator added the bug Something isn't working label Jun 6, 2024
@tjholm
Copy link
Member

tjholm commented Jun 24, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants