how to import ChemScript in venv.
I recently found that ChemDraw22 includes ChemScript that supports python 3.9.
Thanks to the update supporting python3.9.
However I can't import ChemScript using VScode
below is the result when I use cmd terminal in vscode
C:\Program Files\Python39>python
Python 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ChemScript
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'ChemScript'
>>>
But if I run this in cmd.exe
C:\Program Files\Python39>python
Python 3.9.10 (tags/v3.9.10:f2f3f53, Jan 17 2022, 15:14:21) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ChemScript----------------------------------------------------------------------------
Welcome to ChemScript/Python (22.2.0.3300 February 1, 2023)
Copyright (c) 2005-2023 Revvity Signals Software, Inc. All rights reserved.
----------------------------------------------------------------------------
For help: use the "help()" command. For example, type: "help(StructureData)".>>>
Please sign in to leave a comment.
Comments
0 comments