看板 Python 關於我們 聯絡資訊
各位大大好 小弟最近才開始學python,對於一些指令並不清楚 也爬過文,雖然有類似的問題,不過我還是無法解決問題 請大大們幫幫我!! 我的問題是,當我要安裝套件時,似乎是要在命令提示字元輸入 C:\python.exe的路徑\python.exe setup.py sdist 但是輸入後卻發現錯誤!!請問是甚麼指令輸入錯誤?? 我真的很不懂指令@@ https://imgur.com/a/8Ta3B 以下是我儲存python.exe的路徑~ https://imgur.com/a/ZPZPG setup.py的內容!! >>> from distutils.core import setup >>> setup( name='nester', version='1.0.0', py_modules=['nester'], author='hfpython', author_email='hfpython@headfirstlabs.com', url='http://www.headfirstlab.com', description='A simple printer of nested lists', ) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.82.132.86 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1513867609.A.495.html
flarehunter: 你要先用cd移動到套件的所在地 12/22 00:23
flarehunter: 錯誤訊息的意思是說找不到setup.py這個檔案 12/22 00:24