All Questions
Tagged with pyenv python-poetry
35 questions
1
vote
1
answer
44
views
Poetry Install broken, ModuleNotFoundError but Module is installed. MacOS
After cloning and setting up my repo I use a poetry install
When running the code, I see
ModuleNotFoundError: No module named 'loguru'
The package is there however:
poetry add loguru
The following ...
1
vote
0
answers
94
views
How to properly use poetry with different versions of python on windows?
I am trying to migrate our projects to using Poetry. What I want to achieve is when people open the project using PyCharm, it will automatically create the environment using Poetry and install ...
1
vote
0
answers
75
views
Poetry and Pyenv virtual environment "integration"
I read several posts about the possibility Poetry and PyEnv virtual env to coexist.
There are apparently two options:
set a variable, I did not understand where
specify the virtual environment with a ...
-1
votes
1
answer
976
views
Change Poetry Python version
Context
I want Poetry to use Python 3.12.x
Poetry is installed globally, and I've set Pyenv to default to 3.12 globally on my machine
I'm using VSCode
In the terminal in my project, I've done poetry ...
0
votes
0
answers
237
views
poetry does not find the python version of pyenv
My ubuntu system has pyenv installed. The system python version is 3.8. However I have set pyenv global 3.10.1 and when I do pyenv versions I can clearly see that it is activated. Also doing python --...
1
vote
0
answers
335
views
Why spyder and other tools do not work in Poetry env?
I have this issue.
I have spyder running without any environment (version 5.2.x). When I add it to poetry env (poetry add spyder --group dev), it doesn't work. Next is the output:
fromIccProfile: ...
1
vote
0
answers
690
views
Poetry creates new pyproject.toml with wrong python version
I am using pyenv to select python 3.10.9:
pyenv global 3.10.9
python --version
Python 3.10.9
Poetry configuration file shows that Poetry should use the current python version:
(base) bob@Roberts-Mac-...
0
votes
3
answers
737
views
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. [Ubuntu 22.04]
I'm running Ubuntu 22.04 and have pyenv 2.3.11 installed and can successfully initiated a Python 3.8.13 version on it. However, whenever I try to run
pip install poetry
I get the following error
...
0
votes
1
answer
3k
views
Poetry creates a project with wrong Python version
I am attempting to create a poetry project with the latest version of Python install via my pyenv installation with homebrew. The below terminal commands show the versions of pyenv and poetry that I ...
2
votes
1
answer
2k
views
Poetry and Pyenv versioning issue
Can someone explain to me what is going on here?
I'm trying to get pyenv and poetry to place nice together. I am on an AWS instance of Ubuntu 20.04 which has python 3.8.10 installed. (I have removed ...
1
vote
0
answers
761
views
How do I install a specific python version without pyenv within nvidia docker so that it interacts well with poetry?
I am trying to build a docker image that contains cuda, cudnn and python, each with specific versions that are templatable as a base for downstream users.
(In this example I have replace all the ...
5
votes
0
answers
3k
views
How to install psyocpg2 with poetry using a python 3.10.8 provided by pyenv?
I'm new to poetry and pyenv, and I'm trying to make them work together on my django project.
I first when for poetry with my system python and it all worked well.
poetry init
poetry add django ...
0
votes
1
answer
967
views
How to downgrade poetry?
Simple:
Poetry is in version 1.2.x and I want to downgrade it to 1.1.x.
Is there a way to simply auto-downgrade poetry on itself?
2
votes
0
answers
207
views
Is it possible to create a virtualenv without a distribution based Python package installed?
On a blank system (e.g. a bare Debian/Alpine/etc. container) with pyenv installed and a Pipfile/pyproject.toml/.. containing a required version of Python I'd like to create a virtualenv, which is no ...
3
votes
2
answers
3k
views
pyenv: poetry itself, running on older python version, what to do?
Update:
Which Python should I use to install poetry?
System Python: That is an excellent idea. Once, however, poetry self update was trying to update a system package without the necessary ...