-
Notifications
You must be signed in to change notification settings - Fork 60
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
An error has occurred! #61
Comments
In Python3, |
This error occurred in the pysony file. Should I modify the code in pysony? I looked at the code in the pysony file, where all print functions are in python2 format. |
Maybe you have an older version? I made some Python3-compatibility changes a few months back. If there's a print statement I missed that's still a problem in the current version of the |
pysony 0.1.11 from pypi has it .... develop and master branches are clean |
Maybe @Bloodevil will be so kind as to make another release when she has time. In the meantime, you can install directly from github (I don't know how it works with Anaconda, though) |
download files, activate conda environment, cd into the folder and run ''' pip install . ''' |
@bjmc thanks for cool explain I'll update soon. I was so lazy these days... |
This worked for me. Thanks. Now waiting for the new version to show up in PyPI. |
The same error appeared for me with the current pysony installed via pypi and python 3.8. pysony.py, installed to dist-packages seems to be really outdated (it says 0.1.11). |
In [1]: import pysony
Traceback (most recent call last):
File "C:\Users*\IPython\core\interactiveshell.py", line 2910, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
import pysony
File "C:*\Anaconda3\lib\site-packages\pysony.py", line 195
print "[WORN] liveview is not a dict type"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print "[WORN] liveview is not a dict type")?
The text was updated successfully, but these errors were encountered: