Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3+ 与 python-dateutil1.5(仅支持python2+) #3860

Closed
hawklucky opened this issue Mar 21, 2016 · 3 comments
Closed

python3+ 与 python-dateutil1.5(仅支持python2+) #3860

hawklucky opened this issue Mar 21, 2016 · 3 comments

Comments

@hawklucky
Copy link

when i import caffe in python,this is the problem

File "/home/××/caffe-master/venv/lib/python3.5/site-packages/dateutil/rrule.py", line 55
raise ValueError, "Can't create weekday with n == 0"

but the /python/require.txt declare the python-dateutil must >1.4 <2 version,
i don't sure if i change python-dateutil form ver1.5 to ver2.0, is it ok?

@mecab
Copy link

mecab commented Aug 9, 2016

I had same issue, and fixed by installing python-dateutil ver2.0+ (actually 2.5.3).
Seems working well.

@achimnol
Copy link

achimnol commented Nov 11, 2016

Shouldn't this be open until we have a working requirements.txt for Python 3?

Reference: http://stackoverflow.com/questions/19559247/requirements-txt-depending-on-python-version

@lucasjinreal
Copy link

I am using Python3.5 come this issue too. @mecab Just wanna ask why I can't find python-util-2.5.3, it seems python-util-2.0 is the latest version. It still have this problem when I upgrade to python-util-2.0.

sudo pip3 install --upgrade python-util
The directory '/home/chenqi-didi/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/chenqi-didi/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting python-util
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4a/1e/627fabbc1e1fea0f8f73d8cbfb42ca98c6114f4b45235c405d2b7339fefa/python_util-2.0.0-py2.py3-none-any.whl
Collecting docopt (from python-util)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz
Installing collected packages: docopt, python-util
  Running setup.py install for docopt ... done
Successfully installed docopt-0.6.2 python-util-2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants