I installed security/py-certbot (which appears to be the new security/py-letsencrypt) using pkg(8):
However, I am not able to run it:
The certbot.log file contains the following:
According to
When I understand the situation correctly, the issue is that security/py-certbot is only able to run with a version of devel/py-parsedatetime that is less than 2.0. Is that correct?
If so, can somebody please tell me how I can downgrade to a version that works with security/py-certbot?
pkg install py27-certbot
However, I am not able to run it:
Code:
root@medusa:~ # certbot
An unexpected error occurred:
VersionConflict: (parsedatetime 2.1 (/usr/local/lib/python2.7/site-packages), Requirement.parse('parsedatetime<2.0'))
Please see the logfile 'certbot.log' for more details.
Code:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 9, in <module>
load_entry_point('certbot==0.8.1', 'console_scripts', 'certbot')()
File "/usr/local/lib/python2.7/site-packages/certbot/main.py", line 700, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 174, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 33, in __init__
self.plugin_cls = entry_point.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2379, in load
self.require(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2396, in require
items = working_set.resolve(reqs, env, installer)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 833, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
VersionConflict: (parsedatetime 2.1 (/usr/local/lib/python2.7/site-packages), Requirement.parse('parsedatetime<2.0'))
According to
pkg info py27-parsedatetime
I have version 2.1 installed:
Code:
root@medusa:~ # pkg info py27-parsedatetime
py27-parsedatetime-2.1
Name : py27-parsedatetime
Version : 2.1
Installed on : Wed Jul 27 16:39:23 2016 UTC
Origin : devel/py-parsedatetime
Architecture : freebsd:10:x86:64
Prefix : /usr/local
Categories : python devel
Licenses : APACHE20
Maintainer : lwhsu@FreeBSD.org
WWW : https://github.com/bear/parsedatetime
Comment : Python module for parsing 'human readable' date/time expressions
Annotations :
repo_type : binary
repository : FreeBSD
Flat size : 347KiB
Description :
Python module that is able to parse 'human readable' date/time expressions.
parsedatetime is able to parse, for example, the following:
* August 25th, 2008
* 25 Aug 2008
* Aug 25 5pm
* 5pm August 25
* next Saturday
* tomorrow
* next Thursday at 4pm
* at 4pm
* eod
* tomorrow eod
* eod Tuesday
* eoy
* eom
* in 5 minutes
* 5 minutes from now
* 5 hours before now
* 2 hours before noon
* 2 days from tomorrow
WWW: https://github.com/bear/parsedatetime
When I understand the situation correctly, the issue is that security/py-certbot is only able to run with a version of devel/py-parsedatetime that is less than 2.0. Is that correct?
If so, can somebody please tell me how I can downgrade to a version that works with security/py-certbot?