-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
First run of jrnl, getting ModuleNotFoundError #1010
Comments
The short version: The long version: looks like one of our dependencies is out of whack. I'm looking into it; stay tuned. |
So, it looks like one of the packages we recently introduced ( So, I'll make a separate issue to fix the hole in our tests, but for now I'll put up a PR soon to patch this more immediate problem. For now, the workaround is running |
Thanks. I am making progress using your suggestions.
What's next to fix this error? |
I'm not familiar with Pop OS, so please bear with me. Can you walk me through your installation of Python? I ask because normally readline is included in Python distributions, but not on some of them (like Active Python on Windows). Which source did you use? What steps did you take? |
Reading up a bit on Pop OS, it looks like it ships with Python 3 installed as |
My system (Pop_OS 20.04) came with python as follows:
I didn't know that my system also came with Python 3 (I only thought to try
Now, my system has Python 3.8.5
|
Ah, okay. Would you mind installing pipx through the system Python ( |
Ok. Here's what I did: Uninstall
Uninstall
Install
Run the "ensurepath" command for
Install
Run
Install
Try
Got this error. What's my next step? |
Hi @northern-arizona, thanks for providing all this detailed info. We've seen issues like this a couple times before, and it's always boiled down to a problem with I see you built Python from source - did you encounter an error message regarding readline while doing so? There may be steps you can take to troubleshoot that issue, if so. Alternatively, I have the understanding that your OS has the |
I cannot find a way to remove the Python 3.8.5 which I installed from source. I was hoping to go back to the python3 version which came with my distro, but I'm afraid to break my whole system by botching an uninstall of Python 3.8.5. If I could roll back to the python3 which came with my distro, I would be able to do |
Been thinking about this, and it sounds like trying to separate the system python from the one installed from source would cause a lot of headaches. Can you maybe try to install jrnl through homebrew? That packages its own, isolated version of python to run with installed packages. That way you don't have to worry about the various versions of python you already have installed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm suddenly experiencing this issue.
|
@stockphrase It looks like something is up with your python installation ( Can you reinstall python to see if that fixes your issue? If not, can you please provide some more info about your system and the python installation? |
I just did pipx install --force jrnl and that fixed my issue, I'm on Kali. |
Environment
What are you trying to do?
I am trying to run jrnl for the first time.
What have you tried?
My system came with Python 2.7.18rc1.
I installed (from source) Python 3.8.5
Even after installing the latest python, I still get the same ModuleNotFoundError
Here is the output of the jrnl command.
So, I then tried:
Not sure what to do. I want to use jrnl, but I think something with Python is not working correctly.
The text was updated successfully, but these errors were encountered: