油氣儲(chǔ)運(yùn)網(wǎng)

 找回密碼
 立即注冊(cè)

QQ登錄

QQ快速登錄

一步迅速開始

pdms培訓(xùn)&項(xiàng)目數(shù)字化360網(wǎng)
查看: 5214|回復(fù): 4
打印 上一主題 下一主題

求助SPS與python聯(lián)合編程環(huán)境設(shè)置

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
發(fā)表于 2022-4-28 13:21:32 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
10金幣


油氣儲(chǔ)運(yùn)網(wǎng) - 論壇版權(quán)1、本主題所有言論和圖片純屬會(huì)員個(gè)人意見(jiàn),與本論壇立場(chǎng)無(wú)關(guān)
2、本站所有主題由該帖子作者發(fā)表,該帖子作者與油氣儲(chǔ)運(yùn)網(wǎng)享有帖子相關(guān)版權(quán)
3、其他單位或個(gè)人使用、轉(zhuǎn)載或引用本文時(shí)必須同時(shí)征得該帖子作者和油氣儲(chǔ)運(yùn)網(wǎng)的同意
4、帖子作者須承擔(dān)一切因本文發(fā)表而直接或間接導(dǎo)致的民事或刑事法律責(zé)任
5、本帖部分內(nèi)容轉(zhuǎn)載自其它媒體,但并不代表本站贊同其觀點(diǎn)和對(duì)其真實(shí)性負(fù)責(zé)
6、如本帖侵犯到任何版權(quán)問(wèn)題,請(qǐng)立即告知本站,本站將及時(shí)予與刪除并致以最深的歉意
7、油氣儲(chǔ)運(yùn)網(wǎng)管理員和版主有權(quán)不事先通知發(fā)貼者而刪除本文

沙發(fā)
發(fā)表于 2022-5-28 16:59:51 | 只看該作者
我自己不完整測(cè)試
1.安裝sps10.5
2.應(yīng)用破解補(bǔ)丁(此步驟非必須)
3.進(jìn)入目錄C:\Program Files (x86)\DNVGL\SPS 10.5\bin\Help\PDF,雙擊打開 sps.pdf文件
4.Reference->Python Scripting,有詳細(xì)介紹如何使用python

點(diǎn)評(píng)

原創(chuàng)!: 5.0 很給力!: 5.0
贊一個(gè)!: 5.0
原創(chuàng)!: 5 很給力!: 5 贊一個(gè)!: 5
對(duì)sps和python的交互式開發(fā)很感興趣,終于找到教程了!  發(fā)表于 2023-2-4 10:25
板凳
發(fā)表于 2022-5-29 09:05:03 | 只看該作者
安裝sps10.5,查看幫助文件,有詳細(xì)說(shuō)明。
地板
發(fā)表于 2023-2-4 11:03:04 | 只看該作者
1. Go to https://www.python.org/.
2. On the Navigation bar, click Downloads.
3. Scroll to the list of release versions, and then click Python 3.6.0 (Release date 2016-12-23).
4. On the Python 3.6.0 page, scroll to the list of installer files, and then select Windows x86
executable installer.
5. When prompted to run or save python-3.6.0.exe, click Run.
6. Select the following options, and then click Customize installation.
    l Install launcher for all users (recommended)
    l Add Python 3.6 to PATH :
7. On the Optional Features screen, select all options, and then click Next.
8. On the Advanced Options screen, select the following options:
    l Install for all users
    l Associate files with Python (requires the py launcher)
    l Create shortcuts for installed applications
    l Add Python to environment variables
9. In the Customize install location box, verify that C:\Program Files (x86)\Python36-32
is the installation location, and then click Install.
10. When the installation is finished, close the Install window.
Finially, to create a .py file with Model Builder
    l In Model Builder, on the toolbar, click the Open Python Script button.
注意:sps目前只支持python3.6.0版本,安裝目錄只能是C:\Program Files (x86)\
您需要登錄后才可以回帖 登錄 | 立即注冊(cè)  

本版積分規(guī)則

掃碼訪問(wèn)手機(jī)版

QQ|關(guān)于我們|網(wǎng)站地圖|油氣儲(chǔ)運(yùn)網(wǎng) ( 魯ICP備11007657號(hào)-3 )

GMT+8, 2024-11-15 06:02 , Processed in 0.020502 second(s), 10 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2023, Tencent Cloud.

快速回復(fù) 返回列表