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

Installation Issue with Mac Mini M1 #49

Open
earendil1 opened this issue Jan 10, 2025 · 2 comments
Open

Installation Issue with Mac Mini M1 #49

earendil1 opened this issue Jan 10, 2025 · 2 comments

Comments

@earendil1
Copy link

Hi,
I would like to try your pakage and I was able to paste your code for installation in my terminal, but
#OPTIONAL - install this in a virtual environment
python -m venv .venv && source .venv/bin/activate
pip install .

will not work:
me@Mac-mini epub2tts-edge % python -m venv .venv && source .venv/bin/activate

zsh: command not found: python
me@Mac-mini epub2tts-edge % pip install .

zsh: command not found: pip
me@Mac-mini epub2tts-edge %

I also tried epub2tts-edge conf.epub in a directory where I put the ebook, but I get the message zsh: command not found: epub2tts-edge

I also typed:

me@Mac-mini epub2tts-edge % pyenv install 3.11

pyenv: /Users/dg/.pyenv/versions/3.11.11 already exists
continue with installation? (y/N) n
me@Mac-mini epub2tts-edge % pyenv local 3.11

I am really a beginner, so please do not hesitate to tell me if something obvious is missing.

@aedocw
Copy link
Owner

aedocw commented Jan 10, 2025

It looks like you do have pyenv installed and working which is good news.

Try running pyenv local in the repo directory to confirm it's set properly there. Then try python --version (which SHOULD work), if that doesn't work try python3 --version.

You can also confirm binaries are available by running which python and which pip.

BTW the pyenv steps would only need to be done once, and they should happen before creating the virtual environment with python -m venv .venv.

@earendil1
Copy link
Author

Hi @aedocw thanks so much for the prompt response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants