On Tuesday, April 28, 2020 5:48:04 PM EDT Rainer Dorsch wrote:
> Hello,
> 
> I have another basic virtualenv question:
> 
> I install covidify in a virtualenv and if finds the dependency
> 
> Requirement already satisfied: docopt in /usr/lib/python3/dist-packages
> (from covidify) (0.6.2)
> 
> installed on the system. But later, when I run the python script, it is not
> found:
> 
> Traceback (most recent call last):
>   File "/home/rd/.local/lib/python3.7/site-packages/covidify/data_prep.py",
> line 17, in <module>
>     import docopt
> ImportError: No module named docopt

This is a quick guess and I'm just about to leave, but try creating the 
virtualenv with the --system-site-packages option.  See man 1 virtualenv.

Scott K

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to