Giter Club home page Giter Club logo

Comments (8)

zhangn1985 avatar zhangn1985 commented on September 2, 2024 1

注意:python安装目录下的Scripts目录必须在PATH变量中,.py要在PATHEXT变量中。
如下:

C:\Documents and Settings\new>echo %PATH%
C:\Python34\Scripts;C:\Python34\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem

C:\Documents and Settings\new>echo %PATHEXT%
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PY

C:\Documents and Settings\new>

具体怎么绣稿环境变量Google/Baidu吧。

from ykdl.

zhangn1985 avatar zhangn1985 commented on September 2, 2024

请直接 ykdl -i http://www.iqiyi.com/v_19rr9h0t5g.html

ykdl.__main__ 已经移除了。

from ykdl.

zhangn1985 avatar zhangn1985 commented on September 2, 2024

fc25187 是这个改动导致的。有意为之。

@mengmo 你的python是怎么安装的?PortableApps? 你的python安装目录可有Scripts? 安装版的python,是可以直接通过ykdl来运行的。

from ykdl.

mengmo avatar mengmo commented on September 2, 2024

更新一下,目前 Python 的安装我是这样弄的
https://my.oschina.net/livelite/blog/826054
@zhangn1985
Python我是先安装,将安装目录打包以后卸载。再解压到portableapps目录下,然后修改环境变量。
个人不喜欢第三方软件修改注册表及向系统盘写文件,所及只要能满足需求,基本上都是用的portable apps
按照你的操作要求试了之后,发现还需要设置.py的文件关联,也不清楚还有坑没了。不打算继续试了,以后就用打包的exe

from ykdl.

mengmo avatar mengmo commented on September 2, 2024

@zhangn1985 顺便问个题外话,知道python的安装包是哪种打包格式么?本来我是打算直接手动解开python的安装包搞portable的,结果搜了好长时间,试了不少工具都不行。

from ykdl.

zhangn1985 avatar zhangn1985 commented on September 2, 2024

我对安装包这个不了解。只是知道python35是MSI。这个问题就关了哦。

from ykdl.

mengmo avatar mengmo commented on September 2, 2024

既然把这个问题发这儿了,我就把找到的答案也给出来(终于知道了,不发出来岂不是对不起花费在这上的时间)
python的安装包用的是叫做WiX Toolset的东东
顺便吐个槽:最讨厌这种exe里带msi/cab的。
installer我还是青睐inno

from ykdl.

zhangn1985 avatar zhangn1985 commented on September 2, 2024

👍

from ykdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.