Changes between Version 37 and Version 38 of Python3Support
- Timestamp:
- 02/15/19 12:21:48 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python3Support
v37 v38 649 649 We can rather easily create an isolated environment with Python3 using virtualenv which lets you test GRASS GIS with Python3 support while not cluttering your standard system. 650 650 651 Installation of virtualenv-3:651 Installation of Python-3 virtualenv: 652 652 {{{ 653 653 # on Fedora … … 679 679 # FOR CURRENT USER ONLY 680 680 # 4a) on Fedora 681 virtualenv -3-p python3 grasspy3681 virtualenv -p python3 grasspy3 682 682 # 4a) on Debian/Ubuntu 683 683 virtualenv -p python3 grasspy3 … … 685 685 # OR AS SYSTEM-SIDE VIRTUALENV 686 686 # 4b) on Fedora 687 virtualenv -3-p python3 grasspy3 --system-site-packages687 virtualenv -p python3 grasspy3 --system-site-packages 688 688 # 4b) on Debian/Ubuntu 689 689 virtualenv -p python3 grasspy3 --system-site-packages … … 721 721 Test GRASS GIS with Python3: 722 722 {{{ 723 # just run it in the virtualenv -3session723 # just run it in the virtualenv session 724 724 grass77 --gui 725 725 }}} 726 726 727 In order to deactivate the virtualenv -3environment, run727 In order to deactivate the virtualenv environment, run 728 728 {{{ 729 729 deactivate