Coder Social home page Coder Social logo

ape's People

Contributors

henzk avatar mgaller avatar tonimichel avatar wirai avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ape's Issues

Not compatible with python 3

Hi,

I installed ape like it said in the instructions (wget -O - https://raw.github.com/henzk/django-productline/master/bin/install.py | python - --dev webapps), but my Python3 code does not work because of type hinting:

def __str__(self) -> str:
                  ^
 SyntaxError: invalid syntax

Trying to install ape with python 3 also fails:

wget -O - https://raw.github.com/henzk/django-productline/master/bin/install.py | python3 - --dev webapps
...
  File "<stdin>", line 17
    print 'Usage:'
          ^
SyntaxError: Missing parentheses in call to 'print'

VirtualEnv ImportError when trying to create a virtualenv on Debian

When calling create_project_venv in a container's install.py, the following error is logged down to the console, but not thrown up to the caller, which is

call(['virtualenv', venv_dir, '--no-site-packages'])

The error:

... creating project-level virtualenv
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 2, in <module>
    import virtualenv
ImportError: No module named virtualenv

However, the install script proceeds which leads to an error when trying to install the first module via pip, as the target virtualenv does not exist.

Strangewise, this problem only occurs on Debian, whereas Ubuntu does not show this inappropriate behavior.

A manually triggered pip install virtualenv does solve this issue.
This must only be done once, when an ape root is set up. A possible fix would be to check the return value of the os call and then raising an exception 'Please install virtualenv: pip install virtualenv'

i found bug

hi i try to run a python script with ape that i want:

ape run scripts/script.py --arg 10

but i get following error:

Usage: ape [OPTIONS]
Try 'ape --help' for help.

Error: Got unexpected extra arguments (run scripts/script.py)
INFO: Stopping 'Hardhat node' process.

please help

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.