AttributeError: module 'os' has no attribute 'add_dll_directory'

See original GitHub issue

I just successfully installed it via: pip install git+https://github.com/PaulMcInnis/JobFunnel.git

However, when I entered funnel --help it gave me the error: AttributeError: module 'os' has no attribute 'add_dll_directory'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
rodhodcommented, Jan 9, 2020

the os.add_dll_directory() function was added in python 3.8, its supposed to make resolving dll files in windows smoother.

i ran into a similar error installing the VS Code Editior and used this to fix it. it seems this error could be caused by a “funky” python install, maybe and alpha or beta version

0reactions
PaulMcInniscommented, Jan 10, 2020

I also was unable to replicate this. Sorry, @rrickgauer - this appears to be a configuration issue with your environment.

Recommend trying out installation in a virtual environment

Read more comments on GitHub >

github_iconTop Results From Across the Web

module 'os' has no attribute 'add_dll_directory' python 3.8
I am trying to use confluent_kafka:1.6.0 module in aws lambda function and in the init file in line 9 they have the following...
Read more >
os.add_dll_directory does not work as expected · Issue #10897
The user gets an ImportError e.g.. ImportError: DLL load failed while importing my_module: The specified module could not be found. Setting the ......
Read more >
Using the Python Plugin - The Geochemist's Workbench
I tested some earlier versions of Python as well (3.6 and 3.7), and got ' "errorMessage": "module 'os' has no attribute ...
Read more >
Re: [PATCH] fix unable to load *.pyd files with Python 3.8.x on ...
AttributeError : module 'os' has no attribute 'add_dll_directory' ... See attached patch py38-windows-add-dll-directory--v2.diff.
Read more >
Python Examples of os.add_dll_directory - ProgramCreek.com
This page shows Python examples of os.add_dll_directory. ... to use Python 3.8's DLL handling os.add_dll_directory(KFW_BIN) except AttributeError: # <3.8, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found