Closed devspacetimelu closed 1 year ago
Hello,
That's strange, the message "Environment OK!" means that envCloudComPy.bat is able to import successfully CloudComPy, and ctest calls python scripts that import CloudComPy...
The following should be working, from the conda prompt:
conda activate CloudComPy310
cd <path install>\CloudComPy310
envCloudComPy.bat
python
Then, on the Python prompt:
import cloudComPy as cc
If this does not work can you state precisely your sequence of instructions and the result ?
Regards, Paul
Hello Paul,
Thank you for your response. I reinstalled the files and dill all the steps again.
envCloudComPy.bat
gives "Environment OK!" on the conda prompt and the import works fine when I enter python on the same prompy.
But when I open spyder from the prompt the import doesn't work, I have mentioned all the paths as suggested in the procedure and it gives the following error:
`import cloudComPy as cc Traceback (most recent call last):
Cell In[1], line 1 import cloudComPy as cc
File ~\CloudComPy310\CloudCompare\cloudComPy__init__.py:34 from _cloudComPy import *
ImportError: DLL load failed while importing _cloudComPy: The specified procedure could not be found.`
Please help me solve this issue. Thank you, Rohith
Hi, If you are using spyder, please have a look on issue #80, it may solve your problem.
best, Paul
Hi, For some reason I could not get the environment working on Spyder, but it works on Visual Studio Code. I finally have some time to get started with this again.
Thank you, Rohith
Also when trying to get it working on VS code, test 42 failed (passes on anaconda prompt) and test 50 was skipped. I have attached a screenshot of the results.
Could you please let me know how to solve this?
Thank you, Rohith
Hi, Test 42 may fail if the memory is not released immediately, I guess it depends on the environment Python is running in. It's not a problem. Test 50 uses a huge data file (see issue #100), which is not downloaded automatically, so the test is skipped if the file is not present. Paul
Hi, For some reason I could not get the environment working on Spyder, but it works on Visual Studio Code. I finally have some time to get started with this again.
Thank you, Rohith
guys!I wanna know how you run cloudcompy in vscode with miniconda, i just counter this problem.
Me too
Hello, I am new CloudCompare and python, I succeeded in getting all the files in the right place and setting up the environment.
envCloudComP.bat gives Checking environment, Python test: import cloudComPy Environment OK!
and ctest also passes all the checks.
But when I try to import cloudComPy in python after activating the environment, it gives the no module found error. How can I solve this problem?
Thank you, Rohith