Closed HarshKamath closed 1 year ago
Hi, Did you uninstall and reinstall the latest version of UMEP-processing (2.0.1) ?
We have the same problem. I uninstalled everything, but still not working. After installation it asks to install non-existing python packages, which I did. But I get the error "Packages not installed. report any errors to https://github.com/UMEP-dev/UMEP/issues"
I think I found the issue. Our reqs package umep-reqs point towards a specific Python package (netCDF4==1.6.1) that creates conflicts (netCDF4==1.6.1). A fix should be available soon.
PyPi umep-reqs is updated to 2.0.1. Restart QGIS and see if this solves the problem.
The issue persist also in Windows installations.
OK well, obviously the jaydebeapi is not installed but we do not know why yet. Concerning the Windows installation, do you use the osgeo4W installation ? If so can you install the "jaydebeapi" library via a pip command ? For that you need to start an osgeo command shell and type the following command:
pip install jaydebeapi
By the way, have you tried restarting QGIS ? Maybe the library has been installed but this action has not been immediadly taken into account...
Still remains the same even after osgeo4W (run as admin) and pip install
What version of QGIS are you running? Could you also do pip list
in your osgeo4w command prompt and paste the results here.
Here it is
run o-help for a list of available commands C:\Program Files\QGIS 3.26.3>pip list Package Version
algopy 0.5.7 asteval 0.9.26 astropy 4.3.1 atmosp 0.2.9 catboost 1.0.5 cdsapi 0.5.1 certifi 2020.6.20 cftime 1.5.0 chardet 3.0.4 click 8.0.3 cloudpickle 2.0.0 colorama 0.4.4 coverage 5.3 cycler 0.10.0 dask 2022.1.0 decorator 4.4.2 dill 0.3.4 enpt-enmapboxapp 0.6.2 ExifRead 2.3.2 f90nml 1.3.1 fonttools 4.28.5 fsspec 2022.1.0 future 0.18.2 GDAL 3.5.1 geographiclib 1.50 graphviz 0.19.2 h5py 3.5.0 httplib2 0.18.1 idna 2.10 imageio 2.27.0 JayDeBeApi 1.2.3 Jinja2 2.11.2 joblib 1.0.1 JPype1 1.4.1 kiwisolver 1.2.0 lightgbm 3.3.2 linecache2 1.0.0 llvmlite 0.39.1 lmfit 1.0.3 locket 0.2.1 lxml 4.6.2 MarkupSafe 1.1.1 matplotlib 3.5.1 mock 4.0.2 mpmath 1.2.1 multiprocess 0.70.12.2 netCDF4 1.5.8 networkx 2.5 nose 1.3.7 nose2 0.9.2 numba 0.56.4 numdifftools 0.9.40 numexpr 2.8.1 numpy 1.20.2 OWSLib 0.25.0 packaging 20.4 pandas 1.1.3 partd 1.2.0 patsy 0.5.2 Pillow 9.1.1 Pint 0.18 pip 23.0.1 Platypus-Opt 1.0.4 plotly 4.12.0 ply 3.11 psutil 5.8.0 psycopg2-binary 2.8.6 pvlib 0.9.0 pyerfa 2.0.0 Pygments 2.7.2 pyodbc 4.0.30 PyOpenGL 3.1.5 pyparsing 2.4.7 pypiwin32 223 pyproj 3.3.1 PyQt5 5.15.4 PyQt5-sip 12.8.1 python-dateutil 2.8.1 pytz 2020.1 PyWavelets 1.4.1 pywin32 228 PyYAML 5.3.1 requests 2.24.0 retrying 1.3.3 scikit-image 0.18.3 scikit-learn 0.24.2 scipy 1.6.2 seaborn 0.11.2 setuptools 56.0.0 Shapely 1.8.0 simplejson 3.17.2 sip 6.1.1 six 1.15.0 statsmodels 0.13.1 supy 2021.11.22 supy-driver 2021a15 sympy 1.11.1 threadpoolctl 2.2.0 tifffile 2023.3.21 toml 0.10.1 toolz 0.11.2 tqdm 4.62.3 traceback2 1.4.0 typeguard 2.13.3 uncertainties 3.1.6 unittest2 1.1.0 urllib3 1.25.11 wheel 0.37.1 wxPython 4.1.1 xarray 0.20.2 xgboost 1.5.2 xlrd 1.2.0 xlwt 1.3.0
C:\Program Files\QGIS 3.26.3>
thanks. Strange that you get your python error since as you have jaydebeapi installed... I think it has something to do with netCDF4. Could you please do the following:
pip install umep-reqs
pip install umep-reqs
Thanks for helping us with this.
No error but the belows
run o-help for a list of available commands C:\Program Files\QGIS 3.26.3>pip install umep-reqs Requirement already satisfied: umep-reqs in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (2.0.1) Requirement already satisfied: numba==0.56.4 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from umep-reqs) (0.56.4) Requirement already satisfied: netCDF4 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from umep-reqs) (1.5.8) Requirement already satisfied: jaydebeapi==1.2.3 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from umep-reqs) (1.2.3) Requirement already satisfied: supy==2022.9.22 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from umep-reqs) (2022.9.22) Requirement already satisfied: JPype1 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from jaydebeapi==1.2.3->umep-reqs) (1.4.1) Requirement already satisfied: numpy<1.24,>=1.18 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from numba==0.56.4->umep-reqs) (1.20.2) Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from numba==0.56.4->umep-reqs) (0.39.1) Requirement already satisfied: setuptools in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from numba==0.56.4->umep-reqs) (56.0.0) Requirement already satisfied: lmfit in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (1.0.3) Requirement already satisfied: platypus-opt==1.0.4 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (1.0.4) Requirement already satisfied: supy-driver==2021a15 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (2021a15) Requirement already satisfied: seaborn in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.11.2) Requirement already satisfied: f90nml in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (1.3.1) Requirement already satisfied: cdsapi in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.5.1) Requirement already satisfied: atmosp in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.2.9) Requirement already satisfied: pandas<1.5 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from supy==2022.9.22->umep-reqs) (1.1.3) Requirement already satisfied: numdifftools in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.9.40) Requirement already satisfied: xarray in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.20.2) Requirement already satisfied: click in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (8.0.3) Requirement already satisfied: multiprocess in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.70.12.2) Requirement already satisfied: matplotlib in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from supy==2022.9.22->umep-reqs) (3.5.1) Requirement already satisfied: pvlib in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (0.9.0) Requirement already satisfied: dask in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from supy==2022.9.22->umep-reqs) (2022.1.0) Requirement already satisfied: scipy in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from supy==2022.9.22->umep-reqs) (1.6.2) Requirement already satisfied: six in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from platypus-opt==1.0.4->supy==2022.9.22->umep-reqs) (1.15.0) Requirement already satisfied: cftime in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from netCDF4->umep-reqs) (1.5.0) Requirement already satisfied: pytz>=2017.2 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from pandas<1.5->supy==2022.9.22->umep-reqs) (2020.1) Requirement already satisfied: python-dateutil>=2.7.3 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from pandas<1.5->supy==2022.9.22->umep-reqs) (2.8.1) Requirement already satisfied: numexpr>=2.3.0 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from atmosp->supy==2022.9.22->umep-reqs) (2.8.1) Requirement already satisfied: pint>=0.6 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from atmosp->supy==2022.9.22->umep-reqs) (0.18) Requirement already satisfied: unittest2>=1.0 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from atmosp->supy==2022.9.22->umep-reqs) (1.1.0) Requirement already satisfied: nose>=1.3 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from atmosp->supy==2022.9.22->umep-reqs) (1.3.7) Requirement already satisfied: requests>=2.5.0 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from cdsapi->supy==2022.9.22->umep-reqs) (2.24.0) Requirement already satisfied: tqdm in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from cdsapi->supy==2022.9.22->umep-reqs) (4.62.3) Requirement already satisfied: colorama in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from click->supy==2022.9.22->umep-reqs) (0.4.4) Requirement already satisfied: partd>=0.3.10 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from dask->supy==2022.9.22->umep-reqs) (1.2.0) Requirement already satisfied: toolz>=0.8.2 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from dask->supy==2022.9.22->umep-reqs) (0.11.2) Requirement already satisfied: pyyaml>=5.3.1 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from dask->supy==2022.9.22->umep-reqs) (5.3.1) Requirement already satisfied: fsspec>=0.6.0 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from dask->supy==2022.9.22->umep-reqs) (2022.1.0) Requirement already satisfied: cloudpickle>=1.1.1 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from dask->supy==2022.9.22->umep-reqs) (2.0.0) Requirement already satisfied: packaging>=20.0 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from dask->supy==2022.9.22->umep-reqs) (20.4) Requirement already satisfied: asteval>=0.9.22 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from lmfit->supy==2022.9.22->umep-reqs) (0.9.26) Requirement already satisfied: uncertainties>=3.0.1 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from lmfit->supy==2022.9.22->umep-reqs) (3.1.6) Requirement already satisfied: cycler>=0.10 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from matplotlib->supy==2022.9.22->umep-reqs) (0.10.0) Requirement already satisfied: fonttools>=4.22.0 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from matplotlib->supy==2022.9.22->umep-reqs) (4.28.5) Requirement already satisfied: kiwisolver>=1.0.1 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from matplotlib->supy==2022.9.22->umep-reqs) (1.2.0) Requirement already satisfied: pillow>=6.2.0 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from matplotlib->supy==2022.9.22->umep-reqs) (9.1.1) Requirement already satisfied: pyparsing>=2.2.1 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from matplotlib->supy==2022.9.22->umep-reqs) (2.4.7) Requirement already satisfied: dill>=0.3.4 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from multiprocess->supy==2022.9.22->umep-reqs) (0.3.4) Requirement already satisfied: statsmodels>=0.6 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from numdifftools->supy==2022.9.22->umep-reqs) (0.13.1) Requirement already satisfied: algopy>=0.4 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from numdifftools->supy==2022.9.22->umep-reqs) (0.5.7) Requirement already satisfied: h5py in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from pvlib->supy==2022.9.22->umep-reqs) (3.5.0) Requirement already satisfied: locket in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from partd>=0.3.10->dask->supy==2022.9.22->umep-reqs) (0.2.1) Requirement already satisfied: chardet<4,>=3.0.2 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from requests>=2.5.0->cdsapi->supy==2022.9.22->umep-reqs) (3.0.4) Requirement already satisfied: idna<3,>=2.5 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from requests>=2.5.0->cdsapi->supy==2022.9.22->umep-reqs) (2.10) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from requests>=2.5.0->cdsapi->supy==2022.9.22->umep-reqs) (1.25.11) Requirement already satisfied: certifi>=2017.4.17 in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from requests>=2.5.0->cdsapi->supy==2022.9.22->umep-reqs) (2020.6.20) Requirement already satisfied: patsy>=0.5.2 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from statsmodels>=0.6->numdifftools->supy==2022.9.22->umep-reqs) (0.5.2) Requirement already satisfied: future in c:\program files\qgis 3.26.3\apps\python39\lib\site-packages (from uncertainties>=3.0.1->lmfit->supy==2022.9.22->umep-reqs) (0.18.2) Collecting argparse Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB) Requirement already satisfied: traceback2 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from unittest2>=1.0->atmosp->supy==2022.9.22->umep-reqs) (1.4.0) Requirement already satisfied: linecache2 in c:\users\dimitrispoursanidis\appdata\roaming\python\python39\site-packages (from traceback2->unittest2>=1.0->atmosp->supy==2022.9.22->umep-reqs) (1.0.0) Installing collected packages: argparse Successfully installed argparse-1.4.0
C:\Program Files\QGIS 3.26.3>
and in Processing it appear
So now it works but we dont know what was the issue in the first place...
what if you open the python console in QGIS and type import jaydebeapi
?
no error?
no error?
no error in the console
I'm having the same installation problem, and I've followed the same steps shown in this conversation, but I'm getting an error the last installation of the pip install umep-reqs
The results of the installation are the following.
C:\OSGeo4W>pip install umep-reqs Collecting umep-reqs Using cached umep_reqs-2.1.1-py3-none-any.whl.metadata (301 bytes) INFO: pip is looking at multiple versions of umep-reqs to determine which version is compatible with other requirements. This could take a while. Using cached umep_reqs-2.1-py3-none-any.whl.metadata (310 bytes) Using cached umep_reqs-2.0.1-py3-none-any.whl.metadata (307 bytes) Collecting supy==2022.9.22 (from umep-reqs) Using cached supy-2022.9.22-py3-none-any.whl.metadata (4.7 kB) Collecting numba==0.56.4 (from umep-reqs) Using cached numba-0.56.4.tar.gz (2.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
C:\Users\atorr\AppData\Local\Temp\pip-install-tba15vc8\numba_27f2f680e30d4f038fbdae69016ad4a8\versioneer.py:335: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "C:\OSGeo4W\apps\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Hi,
I am getting an error during installation of UMEP for processing on Linux. The error seems to be associated with ' jaydebeapi' module installation. Please find the attached screenshot. Thanks![umep_error](https://user-images.githubusercontent.com/55356169/230797081-847d19c2-ca73-4fc7-9bb5-04e8fbb8cec7.png)