<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Noshin Saiyara,</p>
<p>you need to launch the Jupyter Notebook using the same
environment. For example:</p>
<p>$ conda activate qgis<br>
$ jupyter-notebook (or what your executable is called, maybe it's
jupyter-lab)</p>
<p>Cheers, Hannes<br>
</p>
<div class="moz-cite-prefix">On 04.12.23 07:50, noshin prachi via
QGIS-User wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAE3kg4caZ5DF9ERbLKnLx6OQSFwFFuPEEona=5876o2=21yMXw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Dear all,
<div>I am trying to create a conda environment with qgis which
will be ready to be used in a Jupyter notebook. I have added
all the steps that I have followed in the attachment named
steps. I have copied path from qgis which is being opened
from the conda environment.</div>
<div>But when I am trying to use <span class="gmail-kn"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset;font-weight:bold">from</span><span
style="color:rgb(33,33,33);font-size:13px"> </span><span
class="gmail-nn"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset">qgis.core</span><span
style="color:rgb(33,33,33);font-size:13px"> </span><span
class="gmail-kn"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset;font-weight:bold">import</span><span
style="color:rgb(33,33,33);font-size:13px"> </span><span
class="gmail-n"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset">QgsApplication</span><span
class="gmail-p"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset">,</span><span
style="color:rgb(33,33,33);font-size:13px"> </span><span
class="gmail-n"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset">QgsVectorLayer</span><span
class="gmail-p"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset">,</span><span
style="color:rgb(33,33,33);font-size:13px"> </span><span
class="gmail-n"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset">QgsProcessingFeedback
- I am getting an error message that the qgis module does
not exist. </span></div>
<div><span class="gmail-n"
style="color:rgb(33,33,33);font-size:13px;box-sizing:unset"><br>
</span></div>
<div><span
style="color:rgb(0,0,0);font-family:"Noto Sans",sans-serif;font-size:12px">I
am using windows 10, python 3.10.9, qgis 3.30. Please help
me in this regard</span><br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Noshin Saiyara</div>
<div><br>
<br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-User mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-User@lists.osgeo.org">QGIS-User@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Johannes Kröger / GIS-Entwickler/-Berater
---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der <a class="moz-txt-link-abbreviated" href="http://www.foss-academy.com">www.foss-academy.com</a>
---------------------------------------------
WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany
Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11
<a class="moz-txt-link-abbreviated" href="mailto:johannes.kroeger@wheregroup.com">johannes.kroeger@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------
</pre>
</body>
</html>