Hi,
I added this to my code just 3 days ago :)
import sys
try:
import matplotlib
except:
import subprocess
print('installing matplotlib')
subprocess.call([sys.exec_prefix + '/python', "-m", 'pip',
'install', 'matplotlib'])
import matplotlib
print('installation
On 07/07/2018 01:26 PM, shiva reddy wrote:
> Thanks,
> In OS X following works:
> subprocess.call(['pip3','install','pyxform'])
>
> Does same works works for Ubuntu/linux also?
>
> for windows, I am assuming 'python' refers to python 3 inside QGIS3.
Yep:
import subprocess
Thanks,
In OS X following works:
subprocess.call(['pip3','install','pyxform'])
Does same works works for Ubuntu/linux also?
for windows, I am assuming 'python' refers to python 3 inside QGIS3.
regards,
Thanks & Regards
Shiva Reddy K.
Scientist/Engineer 'SC'
Indian Institute of Remote
Hi,
thanks for raining this issue and to provide this beautiful solution.
Actually having plugin with external python lib dependencies was/is
tricky especially for windows system (in my experience)
> Now with QGIS3 we have true separated profiles, we an idea would be to
> add a virtual
On 07/07/2018 08:11 AM, shiva reddy wrote:
> Hello,
> I tried to install automatically during my pluign (QRealTime)
> installation by calling:
>
> subprocess.call(['python','-m','install','pyxform','--user'])
>
> It worked many times in windows and it fails sometime.
>
Hi Devs,
I've been working on windows machines without touch screens where I had
the little 'touch'-button next to the 'pan'-button.
I (think) I never had that button on my Linux builds earlier on.
BUT... now I have a laptop with a touch screen :-) AND I wanted to try
that button/touch-pan (in
Hi thanks for your comment
Whilst aware of issues with 3.x I have migrated most of my projects to
it as it seems to be stable enough for everyday work. I am considering
installing the development build onto one of my computers.
I also migrated all the shapefiles to geopackage as this appears
Hi Chris,
2018-07-06 22:52 GMT+02:00 Chris Crook :
> Hi all
>
> I am looking for guidance on documentation.
>
> Can you elaborate on the kind of guidance you need, please?
Basically, docs sources are in https://github.com/qgis/QGIS-Documentation
repository and clicking the "Fix Me" link at the
Hi again, Patrick,
Some other thoughts:
I recently visited the SWISS PGDAY (organized by Swiss PostgreSQL user
group). The very interesting keynote was by Bruce Momjian - a long time
core contributor of PostgreSQL.
The title of the keynote was "Will PostgreSQL live forever?"
Some answers
Hi Patrick,
QGIS 3.x has major changes under the hood:
- Change from qt4 to qt5
- QGIS internal API changes
- Change from Python 2 to Python 3
- Completely rewritten: QGIS server, Print composer/layouts, Processing
- All Python plugins have to be changed and adopted to the above listed
minor correction:
subprocess.call(['python','-m','pip','install','pyxform','--user'])
Thanks & Regards
Shiva Reddy K.
Scientist/Engineer 'SC'
Indian Institute of Remote Sensing,
Indian Space Research Organisation
Department of Space
4-Kalidas Road
Dehradun
mobile: 8791806093
On Sat, Jul 7, 2018
Hello,
I tried to install automatically during my pluign (QRealTime) installation
by calling:
subprocess.call(['python','-m','install','pyxform','--user'])
It worked many times in windows and it fails sometime.
It don't work in OS X and I have not tested in ubuntu.
What is the best practice
12 matches
Mail list logo