-
Notifications
You must be signed in to change notification settings - Fork 237
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
python #390
Comments
python introduction exercises 5,6,7 have errors while setup notebook before running codes and this is the errors generated in the setup proses |
I also got an error while installing ...
byte-compiling build/bdist.linux-x86_64/egg/learntools/feature_engineering_new/ex4.py to ex4.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/learntools/feature_engineering_new/ex5.py to ex5.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/learntools/bqml/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/learntools/bqml/ex1.py to ex1.cpython-37.pyc
File "build/bdist.linux-x86_64/egg/learntools/bqml/ex1.py", line 33
FIX THIS
^
SyntaxError: invalid syntax
byte-compiling build/bdist.linux-x86_64/egg/learntools/bqml/ex3.py to ex3.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/learntools/bqml/ex4.py to ex4.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/learntools/bqml/ex5.py to ex5.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/learntools/machine_learning/ex8.py to ex8.cpython-37.pyc
... I was also able to import
I am not sure if these two errors are connected with the previous error from the installation process. I'd appreciate any help that anyone can extend. Many thanks in advance! P.S. Attached is the entire output (slightly edited) of the installation process: learntoolsInstall-20210810.txt |
build\bdist.win-amd64\egg\learntools\computer_vision\ex5.py:81: SyntaxWarning: "is" with a literal. Did you mean "=="?
assert (activations[0] is 'relu' and activations[1] is 'relu'),
build\bdist.win-amd64\egg\learntools\computer_vision\ex5.py:81: SyntaxWarning: "is" with a literal. Did you mean "=="?
assert (activations[0] is 'relu' and activations[1] is 'relu'),
byte-compiling build\bdist.win-amd64\egg\learntools\computer_vision\ex6.py to ex6.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\learntools\computer_vision\visiontools.py to visiontools.cpython-39.pyc
build\bdist.win-amd64\egg\learntools\computer_vision\visiontools.py:40: SyntaxWarning: "is" with a literal. Did you mean "=="?
if type is 'binary':
build\bdist.win-amd64\egg\learntools\computer_vision\visiontools.py:42: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif type is 'sparse':
build\bdist.win-amd64\egg\learntools\computer_vision\visiontools.py:302: SyntaxWarning: "is" with a literal. Did you mean "=="?
if layer.class.name is 'Conv2D']
build\bdist.win-amd64\egg\learntools\computer_vision\visiontools.py:460: SyntaxWarning: "is" with a literal. Did you mean "=="?
if fill_method is 'replicate':
build\bdist.win-amd64\egg\learntools\computer_vision\visiontools.py:464: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif fill_method is 'reflect':
The text was updated successfully, but these errors were encountered: