Poetry install packages but doesn't found module #4305
-
I installed poetry in my Ubuntu, started a new project using poetry new poetry-demo, but when I install a package, and start using it, Python can't find the module. The same problem occurs with pipenv. Ubuntu 20.04 I'm using my user and not root. I tried to install camelcase package: inside poetry.lock
inside pyproject.toml
inside cameltest.py
running running
If I run it lists many files and directories, but doesn't show camelcase module. if I run I ran an ubuntu docker container, installed poetry, and its fine, the directory My default Python3 is 3.8 : |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The problem is pip, it installs in python3.6 folder, and when it tries to uninstall, it searches in python3.8 folder |
Beta Was this translation helpful? Give feedback.
-
I had the similar problem. I solved it simply: |
Beta Was this translation helpful? Give feedback.
The problem is pip, it installs in python3.6 folder, and when it tries to uninstall, it searches in python3.8 folder