- Topic :: Software Development :: Compilers
- Topic :: Software Development :: Quality Assurance
- Topic :: System
When you know about this project and you want to new install dotnet to support your project or you get trouble as ModuleNotFoundError: No module named "dotnet" or ImportError: cannot import name "dotnet" in your project, let follow this tutorial to install dotnet
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 Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_dotnet_env
- Active the virtual environment
test_dotnet_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_dotnet_env
- Active the virtual environment
source test_dotnet_env/bin/active
To install dotnet on Windows(CMD):
py -m pip install dotnet
To install dotnet on Unix/macOs:
pip install dotnet
Example:
pip install dotnet==1.1.7
Please see the version list below table:
Version | Released date | Command |
---|---|---|
dotnet 1.4.2 | 2021-10-31T08:01:25 | Windows: Unix/macOs:
|
dotnet 1.3.1 | 2017-06-29T23:18:05 | Windows: Unix/macOs:
|
dotnet 1.2.2 | 2017-06-10T15:26:00 | Windows: Unix/macOs:
|
dotnet 1.2.1 | 2016-09-03T19:54:15 | Windows: Unix/macOs:
|
dotnet 1.1.9 | 2016-07-07T19:55:12 | Windows: Unix/macOs:
|
dotnet 1.1.7 | 2016-06-06T00:53:47 | Windows: Unix/macOs:
|
Download the distribution file from dotnet-1.4.2-cp39-cp39-win_amd64.whl or the specific dotnet version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_dotnet_downloaded_file>
On Unix/macOs:
pip install <path_to_dotnet_downloaded_file>
List distribution:
- dotnet-1.1.9-cp27-cp27m-win32.whl
- dotnet-1.1.9-cp27-cp27m-win_amd64.whl
- dotnet-1.1.9-cp35-cp35m-win32.whl
- dotnet-1.1.9-cp35-cp35m-win_amd64.whl
- dotnet-1.2.1-cp27-cp27m-win32.whl
- dotnet-1.2.1-cp27-cp27m-win_amd64.whl
- dotnet-1.2.1-cp35-cp35m-win32.whl
- dotnet-1.2.1-cp35-cp35m-win_amd64.whl
- dotnet-1.2.2-cp36-cp36m-win_amd64.whl
- dotnet-1.3.1-cp27-cp27m-win_amd64.whl
- dotnet-1.3.1-cp36-cp36m-win_amd64.whl
- dotnet-1.4.2-cp39-cp39-win_amd64.whl
Project link:
- Homepage