Closed xxtensazenxx closed 3 years ago
are you using ppa:deadsnakes/ppa
for python 3.10? Don't use it. I had the same Problem. Build Python 3.10 from Source and use pip3.10 for installing the dependencies.
I followed those instructions and the install from souce went fine until I tried to run the requirments install with 3.10
WARNING: Discarding https://files.pythonhosted.org/packages/03/9a/95c4b3d0424426e5fd94b5302ff74cea44d5d4f53466e1228ac8e73e14b4/psutil-5.6.5.tar.gz#sha256=d051532ac944f1be0179e0506f6889833cf96e466262523e57a871de65a15147 (from https://pypi.org/simple/psutil/) (requires-python:>=2.6, !=3.0., !=3.1., !=3.2., !=3.3.). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached psutil-5.6.4.tar.gz (447 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
ERROR: Exception:
Traceback (most recent call last):
File "/home/matt/.local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 164, in exc_logging_wrapper
status = run_func(*args)
File "/home/matt/.local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 204, in wrapper
return func(self, options, args)
File "/home/matt/.local/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 338, in run
requirement_set = resolver.resolve(
File "/home/matt/.local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
File "/home/matt/.local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 482, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/matt/.local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 349, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/home/matt/.local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
File "/home/matt/.local/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in bool
return bool(self._sequence)
File "/home/matt/.local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in bool
return any(self)
File "/home/matt/.local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in
For the life of me I cannot get this script to function anymore.
(scraper) matt@oldshack:~/onlyfans$ python3.10 start_ofd.py Traceback (most recent call last): File "/home/matt/onlyfans/start_ofd.py", line 12, in
main_test.check_config()
File "/home/matt/onlyfans/tests/main_test.py", line 21, in check_config
import helpers.main_helper as main_helper
File "/home/matt/onlyfans/helpers/main_helper.py", line 1, in
from database.databases.user_data.models.api_table import api_table
File "/home/matt/onlyfans/database/databases/user_data/models/api_table.py", line 6, in
import sqlalchemy
ModuleNotFoundError: No module named 'sqlalchemy'
I follow all instructions but get stuck here now.