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

Can't run on iMac M1 #13

Closed
ahmuu opened this issue May 27, 2023 · 4 comments
Closed

Can't run on iMac M1 #13

ahmuu opened this issue May 27, 2023 · 4 comments

Comments

@ahmuu
Copy link

ahmuu commented May 27, 2023

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! :)

@nexuslux
Copy link

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

pip install flask

and then checking that flask is install.

flask --version

@joemccann
Copy link
Contributor

You can also comment out line 97 in requirements.txt

# pywin32==306

@Anil-matcha
Copy link
Contributor

@joemccann has added a fix now in #17

@Anil-matcha
Copy link
Contributor

Closing as the issue is fixed

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

4 participants