CloudComPy icon indicating copy to clipboard operation
CloudComPy copied to clipboard

Problem with import module

Open thomasTUK opened this issue 1 year ago • 1 comments

Hello there, I have followed the installing instructions. With miniconda I do get while running .\envCloudComPy.bat following message:

Checking environment, Python test: import cloudComPy
Environment OK!

But when I do run python .\checkenv.py

Checking environment, Python test: import cloudComPy
The environment seems to be incorrect! You need to set the conda environment for cloudComPy before running this script!

The env CloudComPy310 is activated. Of course other python scripts are not working neither with import cloudComPy as cc . With Visual Studio Code I do get already while running .\envCloudComPy.bat following message:

The environment seems to be incorrect! You need to set the conda environment for cloudComPy before running this script!
"Incorrect Environment! Problem with Python test!"

What am I doing wrong? Thanks! Thomas

thomasTUK avatar Dec 04 '23 19:12 thomasTUK

Okay, i habe set PYTHONPATH using the Windows Environment Variables dialog. Did a restart and now its working: python checkenv.py

Checking environment, Python test: import cloudComPy
QFileSystemWatcher: Removable drive notification will not work if there is no QCoreApplication instance.
JsonRPCPlugin::JsonRPCPlugin
Environment OK!

thomasTUK avatar Dec 04 '23 19:12 thomasTUK