猫史档案馆


各位,客户端运行不了vpython

用户:任尔东西南北风(代码BIT)任尔东西南北风(代码BIT)查看:1 回复:2 评论:1 创建时间:2021-06-27T10:31:06


bug!emotion_抓狂

import vpython
import pygame

sphere_location = vector(0,0,0)
box._location = vector(2,0,0)

sphere(pos=sphere_location)


回复

上一页1 页 / 共 1下一页
Python-happyyyyPython-happyyyy

错了,vpython的导入错了, 是fromvpythonimport× 不然你vector()是python自带的?????

点赞0


评论


Python-happyyyyPython-happyyyy

from vpython import *
import pygame

sphere_location = vector(0,0,0)
box._location = vector(2,0,0)

sphere(pos=sphere_location)

点赞0


评论