-
Notifications
You must be signed in to change notification settings - Fork 820
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
Getting an uncaughtException: could not find a pipenv site-packages #7332
Comments
Can you please try with v4.51.0 of the CLI, which was just released. |
I updated to 4.51.0 and then tried again with 4.51.1 It seems to work just fine now, thanks. Do you know what was wrong? I'd read the changelog myself but i'm still not good enough.. Anyway thank you i can now upload amplify with python changes |
Glad to see that you're unblocked. I believe this issue was resolved by #7254. Since this appears to be resolved, I'll close the issue out. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Meaningful / related issues:
Amplify's command
Push
Expected behavior
Expected the push to complete successfully
Steps to reproduce
pip install --user pipenv
when amplify-push stops asking for itRelevant system info
Current OS
OS: Manjaro
Amplify CLI: v4.50.2 via npm
NPM: v6.14.13
Node: v14.17.0
Pyenv: v1.2.27
Python: v3.8.9
Previous OS
OS: Win10
Amplify CLI: v4.50.2 via npm
NPM: v6.14.8
Node: v12.18.2
Pyenv: N/A
Python: v3.8.3
Description
Hi, i'm trying to solve this, maybe you can help me.
I am starting to work on a linux distribution called manjaro.
I was previously working on windows without any problem (till now, but it's for another issue, though).
I already had a couple of functions in my amplify-project's backend, written in python.
I made a change to one of these function and amplify-pushed them.
Push operations gets an error, the one below, and i cannot understand why it is happening (i'm not enough into python right now to know about virtual environments, etc.)
I am looking for an explanation (to learn) and a solution.
#7188 looks similar, and it seems to have been successfully closed with #7254 fixing the bug.
Even thought i may have found the reasons causing my problem, i don't understand it, neither its solution.
Issue #6159, that's referenced by someone at #7032, seems to have some kind of precursor of my exception, there is a comment about doing
pip install --user pipenv
, which is a command amplify asked me to do (read reproduction step above).After that a couple of people solved it changing version on pipfile. i have the "3.8" in it, and if i change it i fear of breaking my teammate's local settings. But as far as i know, AWS Lambda works with python 3.8, not 3.9 so idk if i should change it.
I'll appreciate your help troubleshooting this. Thanks for your time!
Amplify's sort of stacktrace
Error shown by amplify while pushing changes in python code (formatted by me to make it easier to read)
The text was updated successfully, but these errors were encountered: