I'm trying to import dateutil in pypy, which I've got the following error. Importing dateutil in python2.7 didn't return an error
[root@]# python
Python 2.7.5 (default, May 31 2018, 09:41:32)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dateutil
>>> exit()
[root@]# pypy
Python 2.7.13 (4a68d8d3d2fc1faec2e83bcb4d28559099092574, Oct 18 2019, 01:09:48)
[PyPy 7.2.0 with GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> import dateutil
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dateutil
I'm not sure if this is related but dateutil is found in
/usr/lib/python2.7/site-packages
But not found in
/usr/lib64/python2.7/site-packages
pypy on the server is located in
/opt/pypy-7.2.0-linux_x86_64-portable
I tried uninstalling dateutil and reinstalling dateutil using pip, but pypy can't seem to find it.
Would appreciate any help. Thank you in advance!!!