However, I'm unable to import aspose in any python script:
import aspose.words as aw
...
err:
$ /opt/homebrew/bin/python3 /Users/alaa/Developer/BASS/Docs/aspose-convertCHM2HTML.py
Traceback (most recent call last):
File "/Users/alaa/Developer/BASS/Docs/aspose-convertCHM2HTML.py", line 1, in <module>
import aspose.words as aw
ModuleNotFoundError: No module named 'aspose'
I have an ARM64 M1 MBA with macOS 14.5
& I'm using VSCode here.
I tried to import the package using different python versions, but the issue persisted.
It's an issue related to an externally managed environment (caused by VSCode and Brew here) & has nothing to do with the package itself.
Honestly, running Python could be a mess in macOS ...
I've already installed
aspose-words
.& python is installed on my machine:
However, I'm unable to import
aspose
in any python script:err:
I have an ARM64 M1 MBA with macOS 14.5 & I'm using VSCode here.
I tried to import the package using different python versions, but the issue persisted.