- January 30, 2019 at 6:00 am #1842
Got to pip install -r requirements/prod.txt and got the following errors:
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 122, in main
status = self.run(options, args)
File “/usr/lib/python2.7/dist-packages/pip/commands/install.py”, line 274, in run
for req in parse_requirements(filename, finder=finder, options=options, session=session):
File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 1632, in parse_requirements
req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, “pre”, None))
File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 173, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File “/usr/lib/python2.7/dist-packages/pip/req.py”, line 71, in init
req = pkg_resources.Requirement.parse(req)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3023, in parse
req, = parse_requirements(s)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2970, in parse_requirements
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2979, in init
RequirementParseError: Invalid requirement, parse error at “‘–no-bin'”
Storing debug log for failure in /root/.pip/pip.log
Any help really appreciated.
- January 30, 2019 at 9:33 am #1844
Could you detail your system (debian, ubuntu …) ?
Do you try to install version 2.1.1 ?
Your system seems do not understand the first line of the requirement’s file.
- January 30, 2019 at 2:36 pm #1847
I’m using Debian 8; I did all the updates/upgrade before starting the installation process.
I followed all the exact steps and didn’t get any errors (that I know of) up until this point.
I did try to install 2.1.1
- January 30, 2019 at 2:43 pm #1848
are you using python 2.7 or python 3 ? PyFb v2 is working on python 2.7 !
- January 30, 2019 at 3:14 pm #1849
I am using Python 2.7.9
- January 30, 2019 at 4:28 pm #1850
are you using a virtual environment for python as the doc recommands ?
is your prod.txt file like this one : https://github.com/mwolff44/pyfreebilling/blob/v2.1.1/requirements/prod.txt
- January 30, 2019 at 10:01 pm #1851
If you mean this?
pip install virtualenv
virtualenv venv –no-site-packages
chown -R myuser:mysuser venv (replace myuser by your current user, perhaps root – better other one)
Then yes I did install python virtual environment AND my prod.txt is exactly the same as the link you posted?
If you would like I could give you remote access to my machine which has access to the debian machine.
- February 3, 2019 at 10:39 pm #1874
Any other suggestions, I would love to get this working?
- February 4, 2019 at 4:17 pm #1877
Could you remove the python virtualenv and create a new one ?
Something goes wrong during creation.
- February 5, 2019 at 3:01 am #1878
I was able to get it installed. Thank you.
Can you tell me if there is an invoicing module to this? Or does the software tie into any invoicing software such as WHMCS?
- February 5, 2019 at 8:23 am #1879
I will introduce invoice module in v3 with API do use external applications.
In V2, you have to do it manually. You can export cdr in csv and import it in the invoicing application.
You also have by week or by month the amount to bill by customer.
- February 5, 2019 at 8:23 am #1880
what was the problem ?
- February 5, 2019 at 1:30 pm #1881
Quite honestly I don’t know. I ran through 4 installs and got the same error each time at the same point. I then went back a few steps starting with the python install and did a apt-get update and it seems to fix the issue.
- February 5, 2019 at 1:31 pm #1882
Thanks for answering the invoicing question.
- This reply was modified 49 years ago by .
You must be logged in to reply to this topic.
- Click to share on Twitter (Opens in new window)
- Click to share on Facebook (Opens in new window)
- Click to share on Pinterest (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on WhatsApp (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Telegram (Opens in new window)