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

Error while trying to install requirements #19

Open
jackichad opened this issue Jun 7, 2024 · 0 comments
Open

Error while trying to install requirements #19

jackichad opened this issue Jun 7, 2024 · 0 comments

Comments

@jackichad
Copy link

Hello,

I'm trying to follow along and install the snap lens tool. It's quite possible that I'm just missing a simple step as I'm not very familiar with this stuff but I did get a snap camera server up and running with no issues. It's just that now I'm trying to use some of the filters I see on lens.snapchat.com and they don't work so my understanding is that I need to use this snap lens tool to fix them.

I have downloaded and unzipped the binary (snap-lens-tool-0.7.1) and then when I go into that directory and try to run the command

pip install -r requirements.txt

I get the following error:

D:\Utils\Snap Camera\snap-lens-tool>pip install -r requirements.txt
Collecting beautifulsoup4==4.12.3 (from -r requirements.txt (line 1))
  Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting lxml==5.1.0 (from -r requirements.txt (line 2))
  Using cached lxml-5.1.0-cp312-cp312-win_amd64.whl.metadata (3.6 kB)
Collecting numpy==1.26.1 (from -r requirements.txt (line 3))
  Using cached numpy-1.26.1-cp312-cp312-win_amd64.whl.metadata (61 kB)
Collecting pyqt5==5.15.9 (from -r requirements.txt (line 4))
  Using cached PyQt5-5.15.9-cp37-abi3-win_amd64.whl.metadata (2.2 kB)
Collecting pyqt5-tools==5.15.9.3.3 (from -r requirements.txt (line 5))
  Using cached pyqt5_tools-5.15.9.3.3-py3-none-any.whl.metadata (8.3 kB)
Collecting requests==2.31.0 (from -r requirements.txt (line 6))
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting zstandard==0.22.0 (from -r requirements.txt (line 7))
  Using cached zstandard-0.22.0-cp312-cp312-win_amd64.whl.metadata (3.0 kB)
Collecting soupsieve>1.2 (from beautifulsoup4==4.12.3->-r requirements.txt (line 1))
  Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting PyQt5-sip<13,>=12.11 (from pyqt5==5.15.9->-r requirements.txt (line 4))
  Using cached PyQt5_sip-12.13.0-cp312-cp312-win_amd64.whl.metadata (524 bytes)
Collecting PyQt5-Qt5>=5.15.2 (from pyqt5==5.15.9->-r requirements.txt (line 4))
  Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl.metadata (552 bytes)
Collecting click (from pyqt5-tools==5.15.9.3.3->-r requirements.txt (line 5))
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
INFO: pip is looking at multiple versions of pyqt5-tools to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement pyqt5-plugins<5.15.9.3,>=5.15.9.2.2 (from pyqt5-tools) (from versions: none)
ERROR: No matching distribution found for pyqt5-plugins<5.15.9.3,>=5.15.9.2.2

Once I try to actually run the python script I then get the following error which I assume is from the above error:

D:\Utils\Snap Camera\snap-lens-tool>python snap_lens_tool.py
Traceback (most recent call last):
  File "D:\Utils\Snap Camera\snap-lens-tool\snap_lens_tool.py", line 3, in <module>
    from src.qt.app import App
  File "D:\Utils\Snap Camera\snap-lens-tool\src\qt\app.py", line 3, in <module>
    from .main_widget import MainWidget
  File "D:\Utils\Snap Camera\snap-lens-tool\src\qt\main_widget.py", line 7, in <module>
    from .download_widget import DownloadWidget
  File "D:\Utils\Snap Camera\snap-lens-tool\src\qt\download_widget.py", line 4, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Any help would be greatly appreciated. Thanks.

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

1 participant