Installation was going smooth and got requirements installed no prob. I cant seem to understand what Im doing wrong when attempting to run setup.py.
- git clone https://github.com/kr4ude/onlyfans-scraper.git
- cd onlyfans-scraper
- python3 -m venv venv
- source venv/bin/activate
- pip install -r requirements.txt
- pip install .
then heres what Im getting.
(venv) slikk@slikk-desktop:~/onlyfans-scraper$ pip install .
Processing /home/slikk/onlyfans-scraper
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "/home/slikk/onlyfans-scraper/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/slikk/onlyfans-scraper/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/slikk/onlyfans-scraper/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qdajxzpj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-qdajxzpj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-qdajxzpj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
File "<string>", line 132, in <module>
File "<string>", line 123, in silent_main
NameError: name 'setup_environment' is not defined
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Installation was going smooth and got requirements installed no prob. I cant seem to understand what Im doing wrong when attempting to run setup.py.
then heres what Im getting.