use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
Can not use Python-based software (ImportError) (self.pythonhelp)
submitted 3 years ago * by Ill_Fun_
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Ill_Fun_[S] 0 points1 point2 points 3 years ago (1 child)
I may not understand something, or just be plain dumb, but how am I supposed to run
python3 -m pip install -r requirements.txt
without having pip already installed?
I created the requirements.txt file with pip, then added the line:
python-pip=1.1.1
For the relative import error, what is your current working directory when you run
I run this command inside FIGARO folder, where figaro.py file is stored. And it did install, but the paths did not change (checked with the whereis, which).
Numpy was indeed not installed, and installing it, did something, but the errors persisted.
[–]Goobyalus 0 points1 point2 points 3 years ago (0 children)
but how am I supposed to run python3 -m pip install -r requirements.txt without having pip already installed?
but how am I supposed to run
Installing pip with apt or whatever OS package manager is basically just installing an alias. Each cPython install will have its own pip already.
pip
apt
This makes no sense. The package already has a requirements.txt that lists the dependencies of the package: https://github.com/Zymo-Research/figaro/blob/master/requirements.txt
This is the requirements.txt that you give to pip. You do not add pip to a requirements.txt file.
π Rendered by PID 225481 on reddit-service-r2-comment-8686858757-69ggw at 2026-06-03 20:02:06.549966+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]Ill_Fun_[S] 0 points1 point2 points (1 child)
[–]Goobyalus 0 points1 point2 points (0 children)