EmbedAI icon indicating copy to clipboard operation
EmbedAI copied to clipboard

Can't run on iMac M1

Open ahmuu opened this issue 1 year ago • 1 comments

I removed the pywin32 module from the requirements, though I'm still getting errors when running install -r requirements.txt. This is the one I'm getting

ERROR: Could not find a version that satisfies the requirement putz-deprecation-shim==0.1.0.post0 (from versions: none) 
ERROR: No matching distribution found for putz-deprecation-shim==0.1.0.post0

And when running privateGPT.py -- I'm getting the error below

File "/Users/XX/Desktop/privateGPT/server/privateGPT.py", line 1, in <module>
    from flask import Flask,jsonify, render_template, flash, redirect, url_for, Markup, request
ModuleNotFoundError: No module named 'flask'

(base) XX@XXXX-iMac server % python3 privateGPT.py           
Traceback (most recent call last):
  File "/Users/am/Desktop/privateGPT/server/privateGPT.py", line 1, in <module>
    from flask import Flask,jsonify, render_template, flash, redirect, url_for, Markup, request

ModuleNotFoundError: No module named 'flask'

Appreciate any support! :)

ahmuu avatar May 27 '23 22:05 ahmuu

I got past this part by just installing flask directly afterwards.

pip install flask

and then checking that flask is install.

flask --version

tristan-mcinnis avatar May 28 '23 12:05 tristan-mcinnis

You can also comment out line 97 in requirements.txt

# pywin32==306

joemccann avatar May 28 '23 20:05 joemccann

@joemccann has added a fix now in https://github.com/SamurAIGPT/privateGPT/pull/17

Anil-matcha avatar May 28 '23 20:05 Anil-matcha

Closing as the issue is fixed

Anil-matcha avatar May 29 '23 11:05 Anil-matcha