¿Puede Python en un entorno JMP obtener el entorno vscode?¡Gracias expertos!
Hay una interfaz de datos que requiere un intérprete de Python de 32 bits para recibirla. Para emular vscode, ejecute este Python de 32 bits.
Las operaciones anteriores se pueden implementar en Python en el entorno JMP
Sus requisitos de instalación originales son:
#Create a 32-bit Python environment
conda create --name stock python=3.8 --platform win-32
#Change the conda source
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/
conda config --set show_channel_urls yes
#Change the pip source
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
#Install necessary libraries
pip install pywin32
pip install pytz
#Then pywin32 needs to be installed manually
python
C:\Users\tj07166.conda\envs\stock\Scripts\pywin32_postinstall.py -install
#Use Git to manage projects
First, create a remote repository, and then conduct git init locally to create a local repository.
Write a .gitignore file, and after performing add and commit, push it to the remote branch.
Install Git on the remote host, generate an SSH public key and fill it into the GitHub repository.
Use git clone.
Automatización y scriptingVentanasRe: ¿Puede Python en un entorno JMP obtener el entorno vscode?sistema operativo win10
Re: ¿Puede Python en un entorno JMP obtener el entorno vscode?Re: ¿Puede Python en un entorno JMP obtener el entorno vscode?Pywin32 no significa Python de 32 bits, es un contenedor para la interfaz COM de Win32. Puede instalar Pywin32 directamente en el entorno JMP, que es de 64 bits.
import jmp
from jmputils import jpip
jpip('install', 'pywin32')
from win32com.client import Dispatch
...Re: ¿Puede Python en un entorno JMP obtener el entorno vscode?¡Gracias expertos!
