jerbaroo / bridge-sim

Python library for concrete slab bridge simulation.
MIT License
1 stars 0 forks source link

pipenv is painfully slow #171

Closed rozsasarpi closed 3 years ago

rozsasarpi commented 3 years ago

Just installing a new package in the virtual environment, e.g. pipenv install pypiwin32, is ridiculously slow.

This seems to be a common problem, see for example https://github.com/pypa/pipenv/issues/2873.

I haven't tried poetry yet but it seems to be promising.

jerbaroo commented 3 years ago

I have mostly switch to poetry, apart from the Docker image. I will be away for a few days, and will finish it off then. If you are not using the Docker image then the git branch poetry is worth checking out, maybe you can see if it works for you, and if not what is the error? Instructions are in the README file on the branch, though it pretty much comes down to replacing the pipenv command with poetry.

rozsasarpi commented 3 years ago

Thanks a lot! I just tested poetry:

There was just one small thing that was better with pipenv: PyCharm automatically found the virtual environment while in case of poetry I had to add it manually. Maybe a note could be added to the README:

After installation you can find your poetry created virtual environment by using poetry show -v. You might need to add the path to python.exe manually in your IDE.

jerbaroo commented 3 years ago

Closed in #176 , if there are any issues feel free to reopen