bergercookie / syncall

Bi-directional synchronization between services such as Taskwarrior, Google Calendar, Notion, Asana, and more
MIT License
456 stars 41 forks source link

"You have to install the google,tw extras for tw_gtasks_sync to work." But I have already installed it #108

Closed grovesteyn closed 9 months ago

grovesteyn commented 9 months ago

I have already successful done the: pip3 install syncall[google,tw] , but still get this error message: "You have to install the google,tw extras for tw_gtasks_sync to work."

Any suggestions?

bergercookie commented 9 months ago

I cannot reproduce this. You have to provide me with a bit more information

P.S. Please follow the bug report in the future :)

grovesteyn commented 9 months ago

pip3 install --upgrade --force-reinstall syncall

Collecting syncall Using cached syncall-1.8.5-py3-none-any.whl.metadata (28 kB) Collecting PyYAML<5.4.0,>=5.3.1 (from syncall) Using cached PyYAML-5.3.1-cp312-cp312-macosx_14_0_arm64.whl Collecting bidict<0.22.0,>=0.21.2 (from syncall) Using cached bidict-0.21.4-py3-none-any.whl (36 kB) Collecting bubop==0.1.12 (from syncall) Using cached bubop-0.1.12-py3-none-any.whl.metadata (2.6 kB) Collecting click<9.0,>=8.0 (from syncall) Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB) Collecting item-synchronizer<2.0.0,>=1.1.5 (from syncall) Using cached item_synchronizer-1.1.5-py3-none-any.whl.metadata (7.4 kB) Collecting loguru<0.6.0,>=0.5.3 (from syncall) Using cached loguru-0.5.3-py3-none-any.whl (57 kB) Collecting python-dateutil<3.0.0,>=2.8.1 (from syncall) Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 1.5 MB/s eta 0:00:00 Collecting rfc3339<7.0,>=6.2 (from syncall) Using cached rfc3339-6.2-py3-none-any.whl (5.5 kB) Collecting typing<4.0.0,>=3.7.4 (from syncall) Using cached typing-3.7.4.3-py3-none-any.whl Collecting tqdm<5.0.0,>=4.66.1 (from bubop==0.1.12->syncall) Downloading tqdm-4.66.2-py3-none-any.whl.metadata (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 2.7 MB/s eta 0:00:00 Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.8.1->syncall) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Using cached syncall-1.8.5-py3-none-any.whl (85 kB) Using cached bubop-0.1.12-py3-none-any.whl (18 kB) Using cached click-8.1.7-py3-none-any.whl (97 kB) Using cached item_synchronizer-1.1.5-py3-none-any.whl (11 kB) Downloading tqdm-4.66.2-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 882.8 kB/s eta 0:00:00 Installing collected packages: rfc3339, typing, tqdm, six, PyYAML, loguru, click, bidict, python-dateutil, bubop, item-synchronizer, syncall Attempting uninstall: rfc3339 Found existing installation: rfc3339 6.2 Uninstalling rfc3339-6.2: Successfully uninstalled rfc3339-6.2 Attempting uninstall: typing Found existing installation: typing 3.7.4.3 Uninstalling typing-3.7.4.3: Successfully uninstalled typing-3.7.4.3 Attempting uninstall: tqdm Found existing installation: tqdm 4.66.1 Uninstalling tqdm-4.66.1: Successfully uninstalled tqdm-4.66.1 Attempting uninstall: six Found existing installation: six 1.16.0 Uninstalling six-1.16.0: Successfully uninstalled six-1.16.0 Attempting uninstall: PyYAML Found existing installation: PyYAML 5.3.1 Uninstalling PyYAML-5.3.1: Successfully uninstalled PyYAML-5.3.1 Attempting uninstall: loguru Found existing installation: loguru 0.5.3 Uninstalling loguru-0.5.3: Successfully uninstalled loguru-0.5.3 Attempting uninstall: click Found existing installation: click 8.1.7 Uninstalling click-8.1.7: Successfully uninstalled click-8.1.7 Attempting uninstall: bidict Found existing installation: bidict 0.21.4 Uninstalling bidict-0.21.4: Successfully uninstalled bidict-0.21.4 Attempting uninstall: python-dateutil Found existing installation: python-dateutil 2.8.2 Uninstalling python-dateutil-2.8.2: Successfully uninstalled python-dateutil-2.8.2 Attempting uninstall: bubop Found existing installation: bubop 0.1.12 Uninstalling bubop-0.1.12: Successfully uninstalled bubop-0.1.12 Attempting uninstall: item-synchronizer Found existing installation: item_synchronizer 1.1.5 Uninstalling item_synchronizer-1.1.5: Successfully uninstalled item_synchronizer-1.1.5 Attempting uninstall: syncall Found existing installation: syncall 1.8.5 Uninstalling syncall-1.8.5: Successfully uninstalled syncall-1.8.5 Successfully installed PyYAML-5.3.1 bidict-0.21.4 bubop-0.1.12 click-8.1.7 item-synchronizer-1.1.5 loguru-0.5.3 python-dateutil-2.8.2 rfc3339-6.2 six-1.16.0 syncall-1.8.5 tqdm-4.66.2 typing-3.7.4.3

grovesteyn commented 9 months ago

python3 -c 'from syncall.google.gtasks_side import GTasksSide'

Traceback (most recent call last): File "", line 1, in File "/Users/grove/.pyenv/versions/3.12.1/lib/python3.12/site-packages/syncall/google/gtasks_side.py", line 7, in import pkg_resources ModuleNotFoundError: No module named 'pkg_resources'

grovesteyn commented 9 months ago

python3 -c 'from syncall.taskwarrior.taskwarrior_side import TaskWarriorSide'

This succeeds - no error messages.

grovesteyn commented 9 months ago

pip3 freeze | grep syncall syncall==1.8.5

grovesteyn commented 9 months ago

python3 --version Python 3.12.1

which python3 /Users/grove/.pyenv/shims/python3

which tw_gtasks_sync /Users/grove/.pyenv/shims/tw_gtasks_sync

All of this is on a mac

grovesteyn commented 9 months ago

I managed to resolve the issue with:

pip install setuptools