简体   繁体   English

为什么我无法在我的 macOS/VScode 上安装 Trumania package?

[英]Why can't I install the Trumania package on my macOs/ VScode?

I'm trying to download Trumania by using !npx degit RealImpactAnalytics/trumania/trumania trumania in my terminal (Mac), but it doesn't work.我正在尝试在我的终端(Mac)中使用!npx degit RealImpactAnalytics/trumania/trumania trumania ,但它不起作用。

I get this ' message ' all the time.我一直收到这个'消息'。 And it doesn't work in Visual Studio Code.它在 Visual Studio Code 中不起作用。 This is the error I get in VS.是我在 VS 中遇到的错误。 So I'm not sure what I'm doing wrong here.所以我不确定我在这里做错了什么。 Can anybody help me out please?有人可以帮帮我吗?

Could you try this?你能试试这个吗?

pip install faker
npx degit RealImpactAnalytics/trumania/trumania trumania

Then it should be working:然后它应该工作:

from trumania.core import *

You can refer to here你可以参考这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM