-
Notifications
You must be signed in to change notification settings - Fork 491
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
Running book feedback & errata Q&A dialogue with authors ... #33
Comments
Because the above is a show-stopper (progress cannot be made), I:
But now I'm running into
As you can see, I've tried numerous alternatives unsuccessfully. I'm stuck and cannot proceed with the book. Can you create a modified, simpler setup procedure without use of |
pyenv
issue. Modified setup procedure sought...pyenv
and poetry
issues. Modified setup procedure sought...
pyenv
and poetry
issues. Modified setup procedure sought...
WORKAROUND If you should run into this issue (and many will), here's a workaround: Disable "pyenv(1)" Bash integration, then manually Create & Activate a Python virtual environment:
Prepare two Python "requirements" files. The "requirements_2.txt" file contains dependency package names and versions that poetry(1) attempted to install, but pended forever. They are correct package names and versions (not randomly selected):
Install the Python packages:
Finally:
Done! |
Also, the command Instead, I followed the "poe the poet" installation docs and ran Alternatively, if necessary, you can directly run the underlying The book is excellent, detailed and rational. Work through the bugs and adjustments for your system, and it’s worth it. For example, I’ll still need to swap |
Hello @nmvega Thanks for providing this alternative setup for other people encountering the same issue. I will leave the issue open, as we will not add this to the main repository, as the standard way to go in industry-level repositories is using We want to keep that as the recommended approach because it's more robust: failing verbosely at the beginning is better than finding errors due to version mismatches when running the code. But your tutorial is super valuable if other people encounter the same issue. Thanks for doing this. |
I get it. Thank you for the robust reply. I'm really enjoying the book (going meticulously though it), and (currently 4am here in New York City), I'm refactoring my AI R&D server to set everything up. Thank you for such a comprehensive book. |
@nmvega Excited that you enjoy it. Happy learning ✌️ |
Hello again: I noticed that the implementation of the I created this:
|
I don't think so, but using the Python server is far easier than using the Docker version. Personally, I think the Docker version it's worth considering for:
But I wanted to keep it simple. |
Hello:
Sadly, due to this
pyenv
install issue, I'm unable to installPython v3.11.x
as well as indicated versions near it. (In a nutshell,root
access to various directories under/usr/local/
is necessary, which I don't want to grant (since everything should be wholly contained beneath~/.pyenv/versions
)).Can you recommend a modified setup procedure without use of
pyenv
and using, say,python -m venv <name>
instead?
Thank you!
The text was updated successfully, but these errors were encountered: