Coder Social home page Coder Social logo

运行main.py报错 about tiktokdownloader HOT 9 OPEN

joeanamier avatar joeanamier commented on May 10, 2024
运行main.py报错

from tiktokdownloader.

Comments (9)

JoeanAmier avatar JoeanAmier commented on May 10, 2024

试试最新源码。

from tiktokdownloader.

tmzg0000 avatar tmzg0000 commented on May 10, 2024

试试最新源码。

还是报错。只是多了几条说没权限。

C:\envs\TikTokDownloader\Scripts\python.exe D:\TikTokDownloader\main.py
Traceback (most recent call last):
File "C:\Python\Python311\Lib\pathlib.py", line 1116, in mkdir
os.mkdir(self, mode)
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'src\config'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\TikTokDownloader\main.py", line 238, in
TikTokDownloader().run()
File "D:\TikTokDownloader\main.py", line 224, in run
self.check_config()
File "D:\TikTokDownloader\main.py", line 95, in check_config
c.mkdir(parents=True)
File "C:\Python\Python311\Lib\pathlib.py", line 1120, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
File "C:\Python\Python311\Lib\pathlib.py", line 1116, in mkdir
os.mkdir(self, mode)
PermissionError: [WinError 5] 拒绝访问。: 'src'

进程已结束,退出代码1

from tiktokdownloader.

JoeanAmier avatar JoeanAmier commented on May 10, 2024

你点开 main.py 属性,截图给我看看。

from tiktokdownloader.

tmzg0000 avatar tmzg0000 commented on May 10, 2024

下载了3.6版本是正常的。 错误只发生在4.0和最新的源码上有。

from tiktokdownloader.

tmzg0000 avatar tmzg0000 commented on May 10, 2024

你点开 main.py 属性,截图给我看看。

屏幕截图 2023-08-26 113505
屏幕截图 2023-08-26 113514
屏幕截图 2023-08-26 113519

from tiktokdownloader.

JoeanAmier avatar JoeanAmier commented on May 10, 2024

#49
试试直接使用打包的程序。

from tiktokdownloader.

tmzg0000 avatar tmzg0000 commented on May 10, 2024

#49 试试直接使用打包的程序。

https://github.com/JoeanAmier/TikTokDownloader/archive/refs/tags/4.0.zip 这个链接的吗?最开始用的就是这个啊。你没更新,还是一样的错误。

from tiktokdownloader.

JoeanAmier avatar JoeanAmier commented on May 10, 2024

#49 试试直接使用打包的程序。

https://github.com/JoeanAmier/TikTokDownloader/archive/refs/tags/4.0.zip 这个链接的吗?最开始用的就是这个啊。你没更新,还是一样的错误。

不一样,我说的是打包的 exe 程序,直接运行的。

from tiktokdownloader.

JoeanAmier avatar JoeanAmier commented on May 10, 2024

如果是通过终端手动运行,请确保当前文件夹为项目文件夹,下次更新会优化。

from tiktokdownloader.

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.