couler-proj / couler

Unified Interface for Constructing and Managing Workflows on different workflow engines, such as Argo Workflows, Tekton Pipelines, and Apache Airflow.

Home Page:https://couler-proj.github.io/couler/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install instructions don't work in Pycharm `venv`

moshewe opened this issue · comments

Summary

I'm working with a PyCharm generated venv (3.8.5) and running install scripts supplied here doesn't work. The folder in site-packages has no real code in it.

When I run it from a normal terminal, that is Python 3.8.5 sans venv, it install an egg.
I don't think this is expected behaviour - I was expecting a wheel...

Diagnostics

Mac BigSur 11.3.1
Latest repository version 0.1.1rc8.

Have you tried installing other packages too?

Yes, other packages work.
I've tried cloning the repo and installing using python setup.py install and I get the following error:
error: chardet 4.0.0 is installed but chardet<4.0,>=2.0 is required by {'aiohttp'}

Running pip install git+https://github.com/couler-proj/couler.git works, I can see the package installed when I run pip list | grep couler, but when I look at the site-packages I still see the PyPi package...

A simple fix would be to publish the package under SOME name in PyPi, I guess...

When I start a python interpreter from the venv, I can import couler properly. This is weird.

This is probably an issue with venv itself and not related to this project. I don't have experience with venv so I'd suggest seeking advice from other sources.

Putting git+http://github.com/couler-proj/couler in requirements.txt and running pip install -r requirement.txt solved it!

Good to know. Thanks1