Code Monkey home page Code Monkey logo

Comments (5)

IcyPalm avatar IcyPalm commented on June 24, 2024

Workaround:
Install virtual env in the directory of tinker:
PIPENV_VENV_IN_PROJECT=1 pipenv install --python 3.6

run
/usr/bin/env .venv/bin/python -W ignore tinker/user_overview.py

When trying to get a production ready key the same issue arrises here:

tinker/create_production_configuration.py --api-key "${apiKey}"

Change that line to
/usr/bin/env .venv/bin/python -W ignore tinker/create_production_configuration.py --api-key "${apiKey}"

from tinker_python.

OGKevin avatar OGKevin commented on June 24, 2024

@IcyPalm could you find out what the working dir is for that script once you run tinker/user_overview.py

I have a felling that that might be the difference between Linux and Unix.

from tinker_python.

IcyPalm avatar IcyPalm commented on June 24, 2024

I have been tinkering around quite a lot. It seems unable to find the python executable with the current shebang header.

Tried this:
#!.venv/bin/python -W ignore

And that works since it directly points to the .venv executable.
Needs the virtual environment to be installed into the project dir though.
PIPENV_VENV_IN_PROJECT=1

from tinker_python.

OGKevin avatar OGKevin commented on June 24, 2024

@IcyPalm the header #!.venv/bin/python -W ignore seems to work on Unix as well 🤔 .

Feel free to create a PR! if not we will pick this up soon.

FYI @JordyHeemskerk

from tinker_python.

IcyPalm avatar IcyPalm commented on June 24, 2024

Woosh ✈️

from tinker_python.

Related Issues (17)

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.