Ask coding questions

← Back to all posts
2
Cannot download pyodbc on repl.it
PackDaddy (1)

This is my first time using repl.it. I am trying to create a python interface to create custom queries for a Microsoft Access data files used in my new job. In order to create a connection to the accesses file, I am trying to import pyodbc, however, I have not be able to import the module in either python 2.7 or 3.5. I have been getting a Repl.it: package installation failed! error along with other error codes that have been dead ends when searching on google. Any help would be appreciated!

Commentshotnewtop
1
ash15khng (209)

Add a file called requirements.txt.
It should look like this:

pyodbc

if you're using the newest version.
If not, use equality/greater than/lesser than operators (==, <, >, <=, >=) with the version numbers to specify a number.

1
ryanhcode (84)

Can you send us a link to the code or just the code so we can see the error?