Giter VIP home page Giter VIP logo

Comments (1)

linux-china avatar linux-china commented on July 17, 2024

如果你通过点击程序运行PyCharm,PyCharm是不知道当前的terminal对应的环境信息的。 PyCharm支持从命令行启动,这样就可以继承当前环境的所有信息,你使用进入项目目录后,然后通过pycharm . 这种方式试试。 注意: 不能有其他Pycharm实例已经运行啦,不然会从已经运行的PyCharm实例那边获取环境信息。

这种环境切换的问题,最好介入一下PATH变量,如针对Node.js的场景,just给出的方案如下,官方README有说明。

export PATH := "./node_modules/.bin:" + env_var('PATH')

这个问题一直都是有的,如不在项目目录下,你执行 just --justfile d:\app1\justfile abc 同样也没法给你激活项目的环境要求的,最好能够在justfile中指定一下环境变量信息,这样在任何目录和环境下都可以运行justfile中的recipe。

from jetbrains-just-plugin.

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.