Wrong Python version
See original GitHub issueIf I click on the menu -> Info -> Python version
is equal to Js version
, 2.9.4 in my case. I believe this is a minor bug.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Python in command line runs the wrong version? - Super User
I want to run Python 2.7 by default, but for whatever reason, typing python in the command line runs Python version 2.4.5.
Read more >getting the wrong version of python - Stack Overflow
I have installed python 3.6 on my laptop but when I run the version command I get the 2.7 version. I have changed...
Read more >Wrong python version in new installation · Issue #3463 - GitHub
I am on the latest Poetry version. I have searched the issues of this repo and believe that this is not a duplicate....
Read more >python3 - The python command starts the the wrong version of ...
python3 - The python command starts the the wrong version of the python interpreter - Unix & Linux Stack Exchange. Stack Overflow for...
Read more >PyCharm 2019.3 reports an incorrect Python version with ...
In prior versions of PyCharm (I'm on 2019.2.5), it recognizes the correct version of python from mayapy.exe. It's just in the newer version...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, @Davide-sd!
These two numbers are version numbers of K3D, not versions of the interpreters. (So it shouldn’t show your Python interpreter version).
When you install K3D for the first time, these version always match, which means everything is OK.
Then, suppose we fix a bug in 2.9.5, or enhance some functionality. You’ll do
pip install -U K3D
, restart your notebook kernel, and create a plot. But - the functionality seems not to work. It’s there in the Python API, but has no effect on the plot. It’s because your browser has cached the JS part. This is when you’ll see “Python version: 2.9.5” and “JS version: 2.9.4”.When using Notebook, you can check the extensions
jupyter nbextension list
, maybe re-install the extension (see README) and hard-refresh the notebook page (or clean cache). I’m not sure about JupyterLab, but you probably need to rebuild it, and also reload the page.@artur-trzesiok - maybe “frontend version” and “backend version” would be better names?
And for the Python version one should use:
import sys; print(sys.version); print(sys.version_info)
😉Ok, I think I understood what went wrong. I had K3D 2.9.5 installed on my development-environment and K3D 2.9.4 installed on my system. I think somehow the development-environment was looking at the files of the system. After uninstalling both version and reinstalling the latest on my development environment, everything works fine now.