Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install SCons via python pip




SCons - Open Source next-generation build tool., it belongs to Classifiers:

- Environment :: Console
- Operating System :: MacOS
- Operating System :: Microsoft
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Operating System :: POSIX :: Linux
- Operating System :: Unix
- Programming Language :: Python :: 3 :: Only
- Topic :: Software Development :: Build Tools

When you know about this project and you want to new install SCons to support your project or you get trouble as ModuleNotFoundError: No module named "SCons" or ImportError: cannot import name "SCons" in your project, let follow this tutorial to install SCons



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_SCons_env

- Active the virtual environment

test_SCons_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_SCons_env

- Active the virtual environment

source test_SCons_env/bin/active


Step 2: OK, now, let flow below content to start the installation SCons

To install SCons on Windows(CMD):

py -m pip install SCons

To install SCons on Unix/macOs:

pip install SCons


Step 3: If you want to install a specific SCons version, add ==<SCons version> to the end command line

Example:

pip install SCons==0.11


Please see the version list below table:

VersionReleased dateCommand
SCons 4.4.02022-07-30T21:21:47Windows:

py -m pip install SCons==4.4.0

Unix/macOs:

pip install SCons==4.4.0

SCons 4.3.02021-11-17T16:05:13Windows:

py -m pip install SCons==4.3.0

Unix/macOs:

pip install SCons==4.3.0

SCons 4.2.02021-08-01T03:25:22Windows:

py -m pip install SCons==4.2.0

Unix/macOs:

pip install SCons==4.2.0

SCons 4.1.0.post12021-01-20T04:53:51Windows:

py -m pip install SCons==4.1.0.post1

Unix/macOs:

pip install SCons==4.1.0.post1

SCons 4.1.02021-01-19T19:24:16Windows:

py -m pip install SCons==4.1.0

Unix/macOs:

pip install SCons==4.1.0

SCons 4.0.12020-07-17T03:06:59Windows:

py -m pip install SCons==4.0.1

Unix/macOs:

pip install SCons==4.0.1

SCons 4.0.02020-07-04T22:55:48Windows:

py -m pip install SCons==4.0.0

Unix/macOs:

pip install SCons==4.0.0

SCons 3.1.22019-12-17T02:49:51Windows:

py -m pip install SCons==3.1.2

Unix/macOs:

pip install SCons==3.1.2

SCons 3.1.12019-08-08T15:19:16Windows:

py -m pip install SCons==3.1.1

Unix/macOs:

pip install SCons==3.1.1

SCons 3.1.02019-07-21T02:38:46Windows:

py -m pip install SCons==3.1.0

Unix/macOs:

pip install SCons==3.1.0

SCons 3.0.52019-03-27T00:00:31Windows:

py -m pip install SCons==3.0.5

Unix/macOs:

pip install SCons==3.0.5

SCons 3.0.42019-01-23T17:13:45Windows:

py -m pip install SCons==3.0.4

Unix/macOs:

pip install SCons==3.0.4

SCons 3.0.32019-01-08T03:12:41Windows:

py -m pip install SCons==3.0.3

Unix/macOs:

pip install SCons==3.0.3

SCons 3.0.22019-01-01T18:08:36Windows:

py -m pip install SCons==3.0.2

Unix/macOs:

pip install SCons==3.0.2

SCons 3.0.12017-11-14T22:57:34Windows:

py -m pip install SCons==3.0.1

Unix/macOs:

pip install SCons==3.0.1

SCons 3.0.02017-09-18T20:40:18Windows:

py -m pip install SCons==3.0.0

Unix/macOs:

pip install SCons==3.0.0

SCons 2.5.12016-11-03T19:32:28Windows:

py -m pip install SCons==2.5.1

Unix/macOs:

pip install SCons==2.5.1

SCons 2.5.02016-04-09T23:19:09Windows:

py -m pip install SCons==2.5.0

Unix/macOs:

pip install SCons==2.5.0

SCons 2.4.12015-11-10T20:18:38Windows:

py -m pip install SCons==2.4.1

Unix/macOs:

pip install SCons==2.4.1

SCons 2.3.62015-08-22T20:13:51Windows:

py -m pip install SCons==2.3.6

Unix/macOs:

pip install SCons==2.3.6

SCons 2.3.02013-08-27T23:20:21Windows:

py -m pip install SCons==2.3.0

Unix/macOs:

pip install SCons==2.3.0

SCons 0.922003-08-23T12:47:43Windows:

py -m pip install SCons==0.92

Unix/macOs:

pip install SCons==0.92

SCons 0.912003-08-14T23:32:59Windows:

py -m pip install SCons==0.91

Unix/macOs:

pip install SCons==0.91

SCons 0.902003-06-27T22:07:38Windows:

py -m pip install SCons==0.90

Unix/macOs:

pip install SCons==0.90

SCons 0.132003-04-02T01:50:27Windows:

py -m pip install SCons==0.13

Unix/macOs:

pip install SCons==0.13

SCons 0.122003-03-28T18:45:38Windows:

py -m pip install SCons==0.12

Unix/macOs:

pip install SCons==0.12

SCons 0.112003-02-22T14:58:29Windows:

py -m pip install SCons==0.11

Unix/macOs:

pip install SCons==0.11


Step 4: Otherwise, you can install SCons from local archives:

Download the distribution file from SCons-4.4.0.tar.gz or the specific SCons version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_SCons_downloaded_file>

On Unix/macOs:

pip install <path_to_SCons_downloaded_file>


List distribution:


Project link:

- Homepage
- Bug-Tracker
- Discord
- Documentation
- GitHub
- Mailing lists
- Twitter