I have installed new python version 3.9, I wanted to move all the site-packages that I have used in 3.8 to 3.9 lib. Is it possible? I also wanted to know why we need to have lib under every specific version, it would be nice if we have common lib in which I can configure those based on the version I use. Is that available already if not is that something we can implement in future version this will help most of the developers in not moving the site-packages from one version to another every time we upgrade the version. Regards Rajesh Narasimhan
On 30 Oct 2020, at 08:37, rajesh.narasimhan@gmail.com wrote:
I have installed new python version 3.9, I wanted to move all the site-packages that I have used in 3.8 to 3.9 lib. Is it possible?
This is not a list for support on Python, but a list on the development of the Python language. It would be better to ask on the Python-list list. That said: In general it is not possible to move site-packages from one python versions to another. The primary reason is that C extensions are in general not compatible between versions.
I also wanted to know why we need to have lib under every specific version, it would be nice if we have common lib in which I can configure those based on the version I use. Is that available already if not is that something we can implement in future version this will help most of the developers in not moving the site-packages from one version to another every time we upgrade the version.
There is a stable ABI that is currently used by a small subset of C extensions. A number of contributors are working on enhancing the APIs for the stable ABI to make it possible to use for more C extensions. That may lead to a future where it will be easier to share extensions between Python versions, but even then it may not be possible to just copy libraries to the new version because some libraries need changes to adjust for changes in the new version. Ronald — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/
Regards
Rajesh Narasimhan _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/LVM5GZMA... Code of Conduct: http://python.org/psf/codeofconduct/
participants (2)
-
rajesh.narasimhan@gmail.com
-
Ronald Oussoren