Closed AndydeCleyre closed 10 years ago
I haven't actually run tests against 3.4 as of yet, but that appears that ignored (which is now named suppress in 3.4) is not being aliased correctly. I'll be running tests against 3.4 this weekend and pushing up some updates.
EDIT: I've pushed up 2.2.5 which should resolve the 3.4 issues.
Perfect, thanks!
Still doesn't work for me. I have python 3.4.0 installed on my 32 bit Linux machine with virtualenv version = 1.11.4
This is what I have tried:
virtualenv -p /usr/bin/python3 kids
source kids/bin/activate
pip install https://github.com/watsonpy/watson-framework/archive/master.zip
It says: Successfully installed Pygments Jinja2 watson-common watson-cache watson-console watson-di watson-dev watson-filters watson-form watson-html watson-routing watson-validators watson-framework markupsafe watson-events watson-http
According to the following file
./kids/lib/python3.4/site-packages/watson/framework/__init__.py
I have watson 2.2.7 installed
Then I tried to print the version number as it is on the official documentation:
import watson
print(watson.__version__)
and the error is:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute '__version__'
@helambuapps watson is only the top level package, and doesn't contain a version itself. You want to do the following
import watson.framework
print(watson.framework.__version__)
That said, there is an error in the documentation, and will be rectified in the next release.
Using Arch Linux and following the docs, I did:
sudo pip install watson-framework
(installed version 2.2.4)
Checking the version as the docs direct, with
print(watson.__version__)
fails withAttributeError: 'module' object has no attribute '__version__'
. Not important, moving on.watson-console newproject library book