Skip to content
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

artm.version() sometimes returns wrong version number #861

Closed
bt2901 opened this issue Jan 28, 2018 · 1 comment
Closed

artm.version() sometimes returns wrong version number #861

bt2901 opened this issue Jan 28, 2018 · 1 comment

Comments

@bt2901
Copy link
Contributor

bt2901 commented Jan 28, 2018

I have a long sequence of installs and reinstalls on my Windows machine (into different Anaconda virtual environments). It seems that some global system variable has stuck at "0.8.0" and haven't updated.

After following the instructions described at http://bigartm.readthedocs.io/en/v0.9.0/devguide/dev_build_windows.html I have this strange situation:

python -c "import artm; print(artm.version())"
0.8.0
python -c "import pkg_resources; version = pkg_resources.require('bigartm')[0].version; print(version)"
0.9.0
python -c "from artm import SmoothTimeInTopicsPhiRegularizer; print(SmoothTimeInTopicsPhiRegularizer)"
<class 'artm.regularizers.SmoothTimeInTopicsPhiRegularizer'>

So, artm thinks its version is 0.8.0, but in reality I had version 0.9.0 installed (and 0.9.0-exclusive functionality is available to me)

@JeanPaulShapo
Copy link
Contributor

@bt2901
Actually, there are two version numbers, which you may encounter running BigARTM:

  • In first case, artm.version() calls ArtmGetVersion function from C interface. This version is defined here;
  • In the second case, AFAIK you get actual Python API version, which is defined there

I found it very strange to see 0.8.0 version in output, becase we have some other minor versions between 0.8.0 and 0.9.0. Could you check that you don't use outdated artm.dll?

@bt2901 bt2901 closed this as completed Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants