CONTRIBUTING.md instructions are not working for me (python newbie) #1994
Unanswered
plastikfan
asked this question in
Q&A
Replies: 2 comments 8 replies
-
You need todo i.e. the reason you have this failure is cause you have a missing package in your environment |
Beta Was this translation helpful? Give feedback.
6 replies
-
CONTRIBUTING.md may be out of date, and contain too much assumed knowledge. Will post an issue to revisit it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm just getting to grips with python but having a few teething problems with env/tools. I have just followed the instructions in the contributing file with the aim of being able to run the tests. However, when I run the
make test
command, it fails:But the next instruction says that if you don't have make (which I do), run this command:
which fails again:
I've spent a week or so reading up on all things python and I have made great progress, but the one area I'm a bit stuck on is generally running tasks on a python package. (Is there a standard taskrunner like concept in python, or do we have to define our own tasks with make) I'm coming from a javascript/nodejs background, where we use a package.json to define custom tasks like build, clean, test, etc, but I dont know what the standard equivalent is in python. Is make the standard way of doing this, or are there other tools too? Its only by digging around in the markdown files that I discovered the development env in the contributing file, which pointed me in the right direction, but I'm hitting a few errors I dont know how to fix.
Another query:
I was expecting a virtual environment to be setup after installing, but there is no hint of one anywhere (.venv directory?). What am i missing?
Grateful for any help, thanks. (PS, I've run all the previous steps in the contributing file, such as installing dependencies)
Beta Was this translation helpful? Give feedback.
All reactions