Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code error or Configuration error? #1

Open
chimalsky opened this issue Apr 19, 2023 · 0 comments
Open

Code error or Configuration error? #1

chimalsky opened this issue Apr 19, 2023 · 0 comments

Comments

@chimalsky
Copy link

chimalsky commented Apr 19, 2023

I'm unfamiliar with python so I may be incorrectly trying to configure/run the script.

When running this command I receive this error:

root@cd363b188dea:/app# ./docs.py
import-im6.q16: unable to open X server `' @ error/import.c/ImportImageCommand/346.
./docs.py: line 2: from: command not found
./docs.py: line 4: from: command not found
./docs.py: line 5: from: command not found
./docs.py: line 6: from: command not found
./docs.py: line 7: from: command not found
./docs.py: line 8: from: command not found
./docs.py: line 9: from: command not found
./docs.py: line 11: syntax error near unexpected token `('
./docs.py: line 11: `def print_color(text, color):'

I'm in a docker context.

Note that I tried running it both with/without OPENAI_API_KEY with the same results. So the above shared snippet is without the key.

Python 3.9.16 (main, Apr 12 2023, 14:54:44)

pip list:

Package                  Version
------------------------ ----------
aiohttp                  3.8.4
aiosignal                1.3.1
anyio                    3.6.2
async-timeout            4.0.2
attrs                    23.1.0
backoff                  2.2.1
certifi                  2022.12.7
charset-normalizer       3.1.0
chromadb                 0.3.21
click                    8.1.3
clickhouse-connect       0.5.20
cmake                    3.26.3
dataclasses-json         0.5.7
duckdb                   0.7.1
fastapi                  0.95.1
filelock                 3.12.0
frozenlist               1.3.3
greenlet                 2.0.2
h11                      0.14.0
hnswlib                  0.7.0
httptools                0.5.0
huggingface-hub          0.13.4
idna                     3.4
Jinja2                   3.1.2
joblib                   1.2.0
langchain                0.0.144
lit                      16.0.1
lz4                      4.3.2
MarkupSafe               2.1.2
marshmallow              3.19.0
marshmallow-enum         1.5.1
monotonic                1.6
mpmath                   1.3.0
multidict                6.0.4
mypy-extensions          1.0.0
networkx                 3.1
nltk                     3.8.1
numexpr                  2.8.4
numpy                    1.24.2
nvidia-cublas-cu11       11.10.3.66
nvidia-cuda-cupti-cu11   11.7.101
nvidia-cuda-nvrtc-cu11   11.7.99
nvidia-cuda-runtime-cu11 11.7.99
nvidia-cudnn-cu11        8.5.0.96
nvidia-cufft-cu11        10.9.0.58
nvidia-curand-cu11       10.2.10.91
nvidia-cusolver-cu11     11.4.0.1
nvidia-cusparse-cu11     11.7.4.91
nvidia-nccl-cu11         2.14.3
nvidia-nvtx-cu11         11.7.91
openapi-schema-pydantic  1.2.4
packaging                23.1
pandas                   2.0.0
Pillow                   9.5.0
pip                      22.0.4
posthog                  3.0.0
pydantic                 1.10.7
python-dateutil          2.8.2
python-dotenv            1.0.0
pytz                     2023.3
PyYAML                   6.0
regex                    2023.3.23
requests                 2.28.2
scikit-learn             1.2.2
scipy                    1.10.1
sentence-transformers    2.2.2
sentencepiece            0.1.98
setuptools               58.1.0
six                      1.16.0
sniffio                  1.3.0
SQLAlchemy               1.4.47
starlette                0.26.1
sympy                    1.11.1
tenacity                 8.2.2
threadpoolctl            3.1.0
tiktoken                 0.3.3
tokenizers               0.13.3
torch                    2.0.0
torchvision              0.15.1
tqdm                     4.65.0
transformers             4.28.1
triton                   2.0.0
typing_extensions        4.5.0
typing-inspect           0.8.0
tzdata                   2023.3
urllib3                  1.26.15
uvicorn                  0.21.1
uvloop                   0.17.0
watchfiles               0.19.0
websockets               11.0.2
wheel                    0.40.0
yarl                     1.8.2
zstandard                0.21.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant