profilo icon indicating copy to clipboard operation
profilo copied to clipboard

Failed to setup and run workflow_demo.py

Open am5a03 opened this issue 8 years ago • 2 comments

Followed the guide, but it failed to install related dependencies

virtualenv -p python3 env
source env/bin/activate
pip3 install -r requirements.txt

Here is an installation log: install.log

I tried to install NumPy globally, it success, but when invoking workflow_demo:

(env) raymond@Raymonds-MBP:~/workspace/profilo/python$ python3 -m profilo.workflow_demo --help
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/raymond/workspace/profilo/python/profilo/workflow_demo.py", line 26, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

am5a03 avatar Oct 20 '18 04:10 am5a03

Looking into the supplied install.log I see that you've got few errors during the numpy installation. Could you double-check if your numpy is set correctly and try to resolve the installation issues.

aandreyeu avatar Oct 23 '18 21:10 aandreyeu

Thanks. It installed successfully on my Mac, running on Mojave, by using the latest versions of pandas and numpy.

However, on my Debian 9, both pandas and numpy can be installed successfully with the versions specified in requirements.txt 😅

am5a03 avatar Oct 25 '18 14:10 am5a03