-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Cannot install #3
Comments
you can install |
I tried with venv, I get the same result.
|
Getting the exact same errors here. Hope there is a quick fix for this, really excited to try this out. |
|
I have installed What do you recommend? What can I try? Do you need some logs / command output? |
I have installed poetry in 2 different ways. Made no difference. |
@AntouanK sorry i missed that. your logs suggest it's failing because of a missing README file. I removed that, can you pull and retry? |
there's no README inside backend. I pulled and tried again. same error
have you tried cloning the repo on a new machine and running it? or maybe try in a python docker container. so you can see what dependencies people need to run it. thank you. |
Yeah, I know that the project works. |
actually I proceed with the last command, and it works fine!
Seems like that error we see is just It seems to work for me. Thanks for all the help and your work @abi 👍 |
Ok, this worked for me:
And I suppose an easier solution would be to do |
@vfonic I can see why that works. Python has weird import mechanisms for the root of the project. Glad it worked for you! |
Added some info to the FAQs. |
Thanks guys. That worked pretty well! |
I want to ask that. If I don't have the open key, can I run this project?. Thank you. |
Front end => OK cd backend => OK I'm not familiar with Python code, so I tried to follow the instructions, but when I ran the final command to run the backend project, I encountered the following error. How should I fix this issue? Can someone please help me? :( poetry run uvicorn main:app --reload --port 7001 |
You open the .env file with notepad++ then go to Encoding and select UTF-8 |
Thank you, it worked, but I encountered another problem when importing a photo . The UI reports an error saying, 'Error generating code. Check the Developer Console for details. Feel free to open a Github issue.' The terminal at the BE (Backend) is reporting an error as follows: poetry run uvicorn main:app --reload --port 7001 |
@imsamm04 the last line in your logs "message': 'The model gpt-4-vision-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}". Please see the FAQ for how to get an open ai key that has access to the vision model. |
@PristineJagan are you running locally? If so please look at backends logs. If it's hosted, not offering support for the demo at the moment. Please run locally. |
I run with docker and have error likes PristineJagan |
@Jonathan-Adly any thoughts on the Docker issues here? Also, folks, please open a new issue. I'm going to lock this issue in the future since I don't want lots of different discussions going on in one issue. |
Guys - open your console, and let us know what it says there so we can help you! Also - make sure you are running with the last code where @abi changed the port. Port 7000 doesn't work on some Macs and docker. It is occupied by Airplay. |
thanks , its working now |
Nice Comment! It works for me! Thanks a lot! |
Going to lock this conversation. Please open a new ticket if you have issues that are not solved by the FAQ section. |
Trying to follow your instructions, I went into the
backend
folder and triedpoetry install
.I added a README but no difference really.
I also tried running it at the root folder as well, again it throws an error.
What am I missing?
( what is "poetry" anyway? )
The text was updated successfully, but these errors were encountered: