not installing properly.
See original GitHub issueCollecting PyDictionary
Downloading PyDictionary-2.0.1-py3-none-any.whl (6.1 kB)
Requirement already satisfied: click in /home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages (from PyDictionary) (8.0.3)
Requirement already satisfied: requests in /home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages (from PyDictionary) (2.26.0)
Collecting goslate
Downloading goslate-1.5.2.tar.gz (16 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: bs4 in /home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages (from PyDictionary) (0.0.1)
Requirement already satisfied: beautifulsoup4 in /home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages (from bs4->PyDictionary) (4.10.0)
Collecting futures
Downloading futures-3.0.5.tar.gz (25 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
Γ python setup.py egg_info did not run successfully.
β exit code: 1
β°β> [25 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 14, in <module>
File "/home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages/setuptools/__init__.py", line 18, in <module>
from setuptools.dist import Distribution
File "/home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages/setuptools/dist.py", line 32, in <module>
from setuptools.extern.more_itertools import unique_everseen
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
File "<frozen importlib._bootstrap>", line 565, in module_from_spec
File "/home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages/setuptools/extern/__init__.py", line 52, in create_module
return self.load_module(spec.name)
File "/home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages/setuptools/extern/__init__.py", line 37, in load_module
__import__(extant)
File "/home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/__init__.py", line 1, in <module>
from .more import * # noqa
File "/home/krshnaaishwaryad/anaconda3/lib/python3.9/site-packages/setuptools/_vendor/more_itertools/more.py", line 5, in <module>
from concurrent.futures import ThreadPoolExecutor
File "/tmp/pip-install-y11dm6z8/futures_f83793109feb42f2bb50f12844581d63/concurrent/futures/__init__.py", line 8, in <module>
from concurrent.futures._base import (FIRST_COMPLETED,
File "/tmp/pip-install-y11dm6z8/futures_f83793109feb42f2bb50f12844581d63/concurrent/futures/_base.py", line 357
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Γ Encountered error while generating package metadata.
β°β> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Windows Won't Install Properly? 5 Tips to Solve All Common ...
Windows Won't Install Properly? 5 Tips to Solve All Common Issues Β· 1. Remove Unnecessary External Devices Β· 2. Optimize Your Current Installation....
Read more >How to troubleshoot Windows Installer errors - Microsoft Support
Fix that installation or update process was not completed successfully Β· Check the software manufacturer's website for a more recent version of the...
Read more >[SOLVED] Windows 10 Could Not Complete the Installation + ...
Fix 4. Run the Installation in Clean Boot Β· Open Run dialog. Β· Type msconfig in the box and click OK to continue....
Read more >8 Ways to Fix Windows 10 if It Won't Install on Your PC
Go through the solutions below to install Windows 10 successfully Β· Driver errors such as incompatibility with Windows 10 upgrade Β· A file...
Read more >How to Fix the Most Common Windows 10 Installation Problems
If you continue to experience problems after creating multiple installation media and trying to install Windows 10 more than once, you may haveΒ ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I donβt have any privileges on this repo. But I did some debugging I think the actual issue here is that
goslate
depends onfutures
, and futures >=3.0.0 isnβt installable on python3 at all. The pypi page calls this out sayingIt does not work on Python 3 due to Python 2 syntax being used in the codebase. Python 3 users should not attempt to install it, since the package is already included in the standard library.
β https://pypi.org/project/futures/I am able to work around the issue by installing futures β€οΈ.0.0 before installing PyDictionary:
Simple usage appears to be working as expected, but it does appear that Google translation is broken (which uses goslate):
Pinging @geekpradd @bunchesofdonald @hpanago @morgansliman @njvrzm -
PyDictionary appears to be uninstallable on Python 3.10.
If the repo is no longer being maintained, would it be possible to add someone here to the project to help get it fixed?