David Michael Gang
2017-10-19 06:50:15 UTC
I install python-dateutil from conda but the package looks empty:
python
Python 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
File "<stdin>", line 1, in <module>
AttributeError: module 'dateutil' has no attribute 'parser'
'/home/david/miniconda3/envs/route-predictor-microservice/lib/python3.6/site-packages/dateutil/__init__.py'>
'__name__', '__package__', '__path__', '__spec__', '__version__',
'_version']
conda search python-dateutil
Fetching package metadata ...........
python-dateutil 2.4.1 py26_0 defaults
2.4.1 py27_0 defaults
2.4.1 py33_0 defaults
2.4.1 py34_0 defaults
2.4.2 py26_0 defaults
2.4.2 py27_0 defaults
2.4.2 py33_0 defaults
2.4.2 py34_0 defaults
2.4.2 py35_0 defaults
2.5.0 py27_0 defaults
2.5.0 py34_0 defaults
2.5.0 py35_0 defaults
2.5.1 py27_0 defaults
2.5.1 py34_0 defaults
2.5.1 py35_0 defaults
2.5.2 py27_0 defaults
2.5.2 py34_0 defaults
2.5.2 py35_0 defaults
2.5.3 py27_0 defaults
2.5.3 py34_0 defaults
2.5.3 py35_0 defaults
2.6.0 py27_0 defaults
2.6.0 py34_0 defaults
2.6.0 py35_0 defaults
2.6.0 py36_0 defaults
2.6.1 py27_0 defaults
2.6.1 py34_0 defaults
2.6.1 py35_0 defaults
2.6.1 py36_0 defaults
2.6.1 py27h4ca5741_1 defaults
2.6.1 py35h90d5b31_1 defaults
2.6.1 py36h88d3b88_1 defaults
â route-planner git:(master) â conda install python-dateutil=2.6.1
Fetching package metadata ...........
Solving package specifications: .
Package plan for installation in environment
/home/david/miniconda3/envs/route-predictor-microservice:
The following NEW packages will be INSTALLED:
python-dateutil: 2.6.1-py36h88d3b88_1
Proceed ([y]/n)?
I install the latest python dateutil
What could be the reason and how can i fix this?
python
Python 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import dateutil
dateutil.parser
Traceback (most recent call last):dateutil.parser
File "<stdin>", line 1, in <module>
AttributeError: module 'dateutil' has no attribute 'parser'
dateutil
<module 'dateutil' from'/home/david/miniconda3/envs/route-predictor-microservice/lib/python3.6/site-packages/dateutil/__init__.py'>
dir(dateutil)
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__','__name__', '__package__', '__path__', '__spec__', '__version__',
'_version']
from datetime import *
parse
I have the latest python version : 3.6.3parse
conda search python-dateutil
Fetching package metadata ...........
python-dateutil 2.4.1 py26_0 defaults
2.4.1 py27_0 defaults
2.4.1 py33_0 defaults
2.4.1 py34_0 defaults
2.4.2 py26_0 defaults
2.4.2 py27_0 defaults
2.4.2 py33_0 defaults
2.4.2 py34_0 defaults
2.4.2 py35_0 defaults
2.5.0 py27_0 defaults
2.5.0 py34_0 defaults
2.5.0 py35_0 defaults
2.5.1 py27_0 defaults
2.5.1 py34_0 defaults
2.5.1 py35_0 defaults
2.5.2 py27_0 defaults
2.5.2 py34_0 defaults
2.5.2 py35_0 defaults
2.5.3 py27_0 defaults
2.5.3 py34_0 defaults
2.5.3 py35_0 defaults
2.6.0 py27_0 defaults
2.6.0 py34_0 defaults
2.6.0 py35_0 defaults
2.6.0 py36_0 defaults
2.6.1 py27_0 defaults
2.6.1 py34_0 defaults
2.6.1 py35_0 defaults
2.6.1 py36_0 defaults
2.6.1 py27h4ca5741_1 defaults
2.6.1 py35h90d5b31_1 defaults
2.6.1 py36h88d3b88_1 defaults
â route-planner git:(master) â conda install python-dateutil=2.6.1
Fetching package metadata ...........
Solving package specifications: .
Package plan for installation in environment
/home/david/miniconda3/envs/route-predictor-microservice:
The following NEW packages will be INSTALLED:
python-dateutil: 2.6.1-py36h88d3b88_1
Proceed ([y]/n)?
I install the latest python dateutil
What could be the reason and how can i fix this?
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/1593e8a1-64cc-424d-a731-7a026c9311e2%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/1593e8a1-64cc-424d-a731-7a026c9311e2%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.