-
Notifications
You must be signed in to change notification settings - Fork 37
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
Invalid syntax on python 3.5 when installed via pip #7
Comments
rolfpancake
changed the title
Invalid syntax on python 3.5 when installing via pip
Invalid syntax on python 3.5 when installed via pip
Dec 16, 2015
Hi @rolfpancake! Thanks for submitting the issue. You're right! I forgot to update the PyPi package 😢 I just bumped the version to 2.0 and pushed the new package. I just tested it and it seems to be working: $ python --version
Python 3.4.2
$ pip install dict.cc.py
Downloading/unpacking dict.cc.py
Downloading dict.cc.py-2.0.tar.gz
Running setup.py (path:/home/rapha/.pyenv/versions/dict3-test/build/dict.cc.py/setup.py) egg_info for package dict.cc.py
Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in /home/rapha/.pyenv/versions/dict3-test/lib/python3.4/site-packages (from dict.cc.py)
Installing collected packages: dict.cc.py
Running setup.py install for dict.cc.py
changing mode of build/scripts-3.4/dict.cc.py from 644 to 755
changing mode of /home/rapha/.pyenv/versions/dict3-test/bin/dict.cc.py to 755
Successfully installed dict.cc.py
Cleaning up...
$ dict.cc.py en de body
Showing 10 of 50 result(s)
Englisch Deutsch
======== =======
body........................................................Körper-
a'body......................................................jedermann
body........................................................Körper
body........................................................Leiche
body........................................................Leib
body........................................................Karosserie
body........................................................Gehäuse
body........................................................Rumpf
body........................................................Hauptteil
body........................................................Abteilung
body........................................................Gesellschaft |
Works like a charm now. Thanks a lot! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is a nice script - thanks for that!
I installed it via pip and wanted to test it on my windows machine by just call "dict.cc.py" in console window.
It throws the following error:
So I checked line 31 of the dict.cc.py-file in my Scripts folder and got confused because of the difference between this line and the one which is online here on github:
Installed via pip:
print "{}{}{}\n{}{}{}".format(
Github (line 32):
print(u"{}{}{}\n{}{}{}".format(
Is the pip package not up2date?
The text was updated successfully, but these errors were encountered: