-
Notifications
You must be signed in to change notification settings - Fork 21
pysqlite is not supported on Python 3 #171
Comments
Dear @jielab This boils down to a Python version issue: PostGAP is still on Python2, while I am guessing your copy of pip points to pip3. I'm afraid that for the moment we are staying on Python2. Hope this helps, Daniel |
Hello @jielab , This is because you need to set your Python path environment variable, as explained in the Manual. In your case, assuming you are using Bash, it would look like:
Hope this helps, Daniel |
Hello Jie, You can circumvent the python alias mapping entirely by calling python2 directly:
Cheers, Daniel |
Dear Jie, This is very odd because normally Python paths are case-sensitive. Are you working on a Windows machine? The solution would be to rename your POSTGAP script, e.g.:
Then call that one:
Hope this helps, Daniel |
This is starting to get very odd, what do you get when you do:
Daniel |
Hello Jie, I'm confused, in your previous message, I saw:
How come when you are doing Daniel |
I think I found it, could you please delete |
I just removed python.pyc and run it again. Please see below. This time, the error message is different. My student said that this might have to do with the possibility that postgap is installed in some environment, while currently I am in the "(base)" mode. As shown in the following screenshot. Best regards, |
Dear Jie, I don't understand you set up, so it is hard to guess at the source of the problem, but I do notice a few things:
In short, I would recommend that in a clean session you:
Hope this helps, Daniel |
Dear Jie, Progress! The absence of modules such as
Hope this helps, Daniel |
Dear Jie, The problem is that you have Python2 and Python3 interfering with each other. There are number of ways to make this work:
Hope this helps, Daniel |
Dear Daniel: Thank you very much. Just curious, will you plan to release the Python3 version in the future? Best regards, |
Dear Jie, Now that you mention it, I was holding out on doing the Python3 upgrade waiting for updates from a collaborator, but alas they are delayed, so I may as well do the upgrade soon-ish. Hopefully I can do it in the next few weeks. Regards, Daniel |
Dear Daniel: That's great to hear! I look forward to the new version based on python3. Windows 11, iPhone 12, we realize that our life is moving foward by seeing new versions of software :- ) Best regards, |
Hi, there:
I thought that postGAP is a pretty cool idea.
However, I tried many times but still could not successfully install it.
Please see the message below.
Can you please instruct me how to install? I simply want to try it out.
Best regards,
jie
The text was updated successfully, but these errors were encountered: