Issues Installing #118
Replies: 1 comment 1 reply
-
@JohnStratford You're running into the issue in Here's the link the archive, you'll need whatever version based on your python version (3.10), so it looks like probably |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'd love to use the software, but I'm having trouble installing it. I have been following the 'Installing TagLab' wiki (https://github.com/cnr-isti-vclab/TagLab/wiki/Install-TagLab) but have had issues at a couple of Steps and I'm wondering if anyone is able to point out where I am going wrong, please..
I am using Windows 11, and believe I have installed 64-bit Python 3.10.11, CUDA Toolkit 11.6 and the x64 Visual Studio Redistributable. When installing Python I selected the box to add it to the Path and, when provided with the option, I clicked to Disable PATH Limit Length (when I first downloaded Python I did this; after I had issues I uninstalled Python then re-installed it - when I re-installed it, I was never given the option to Disable PATH Limit Length). I have also downloaded and unzipped the 'TagLab-main' folder found at the 'Download Zip' button under the 'Code' tab on the GitHub page. The shell I have used is Windows PowerShell.
Step 0:
The first issue I have is that "The term 'python3' is not recognized" when I 'check if Python and CUDA are properly installed'. CUDA appears to be installed ok. And when I input 'python' rather than 'python3', it is able to return the correct version:
PS C:\Users\johns> nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Fri_Dec_17_18:28:54_Pacific_Standard_Time_2021
Cuda compilation tools, release 11.6, V11.6.55
Build cuda_11.6.r11.6/compiler.30794723_0
PS C:\Users\johns> python3 --version
python3 : The term 'python3' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
PS C:\Users\johns> python --version
Python 3.10.11
Do you know where I have gone wrong, and how I fix my error?
Step 2:
Despite that error, I continued to see if it would work. When I run Step 2, I am presented with "ModuleNotFoundError: No module named 'osgeo'":
[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "C:\Users\johns\Downloads\TagLab + required packages\TagLab-main\install.py", line 275, in
gdal_is_installed = importutil.find_spec("osgeo.gdal")
File "C:\Users\johns\AppData\Local\Programs\Python\Python310\lib\importlib\util.py", line 94, in find_spec
parent = import(parent_name, fromlist=['path'])
ModuleNotFoundError: No module named 'osgeo'
Do you know why this error is occurring and how I can fix it?
A copy of my full script: Full script with errors.txt
Apologies for the hassle, but thank you very much for your help!
John
Beta Was this translation helpful? Give feedback.
All reactions