Python3.6 in circleci/python:3.6.1 is not accessing site-packages properly


#1
#!/bin/bash -eo pipefail
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
Requirement already satisfied: numpy==1.13.3 in ./venv/lib/python3.6/site-packages (from -r requirements.txt (line 1))

When test runs with python3.6 (not python nor python3)

ImportError: Failed to import test module: test_xxxx
Traceback (most recent call last):
  File ...
    import websockets
ModuleNotFoundError: No module named 'websockets'

#2

Can you wind back to an earlier version of that Docker image to see if it is a recently introduced problem?


#3

It works with python and python3


#4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.