I'm trying to use the Masonite framework and I just installed the masonite-cli package and whenever I run craft new, an Attribute Error - module 'urllib' has no attribute 'urlopen' is thrown. My base Python version is 2.7 but I have 3.6 installed.
Masonite - craft new command throws module 'urllib' has no attribute 'urlopen' error
177 views Asked by Joseph Mancuso At
1
There are 1 answers
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in FRAMEWORKS
- Symfony Framework - Route cannot be found even if it is defined in Controller
- How to use a custom js framework to build Vite App?
- I'm having issues in setting up my laravel project
- How to pass the result of a computed property to another component in Vue
- Own Pattern / framework for interfacing with components in C
- SwiftUI App only install framework(SwiftUI) not it's dependency(SDK.framework)
- Cannot find protocol declaration for 'TransactionHandlerDelegate'" (Swift/MAUI Interop)
- MicroiFramework Slim / ORM Doctrine - Some classes are missing in the vendor folder,
- When calling another method of controller where injected custom request class. it is showing error Call to a member function validated() on null
- While installing ruby in windows i am getting this error ERROR: Failed to build gem native extension and yaml.h not found
- Strapi 4 + Nuxt 3 Auth Problems
- cant start bundle on apache felix
- Java OSGi implementation for the project
- A framework, error show: Undefined symbols and Linker command failed with exit code 1 (use -v to see invocation)
- Is it allowed in iOS - Swift Dynamic Framework - Contains Multiple Static Library
Related Questions in MASONITE
- How do I redirect to an external route inside a controller method in Masonite framework?
- How do I redirect to a specific route inside a controller method in Masonite framework?
- deploy Masonite framework on windows IIS
- AttributeError: 'NoneType' object has no attribute 'list_middleware' in masonite\routes\Route.py", line 166
- Masonite Invalid CSRF token
- Validating a form in Masonite
- Can a Masonite route accept a parameter anywhere other than the end of a URL?
- Python/Masonite: pymysql.err.OperationalError (1045, "Access denied for user 'root'@'172.18.0.1' (using password: YES)")
- Is there a helper method for getting the absolute path to storage directory of masonite?
- Masonite - TypeError > encoding without a string argument when using the Auth login method
- How to do Permanent Redirect in Masonite
- Masonite Route Parameters with slash does not work
- masonite 'Post' object has no attribute 'controller'
- Masonite getting error H10 when deploying to Heroku
- Command 'key' is not defined when running craft install
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Although this error is a little ambiguous, this is may seem like it is being thrown because of an incorrect Python version but the base craft commands are designed to be run on Python 2 and Python 3.
With that being said, this error is likely because of an SSL certificate error since Python 3.6 doesn't come with certificates. You can read more about fixing this error here: urllib and "SSL: CERTIFICATE_VERIFY_FAILED" Error
but the solution to this is to just run:
/Applications/Python\ 3.6/Install\ Certificates.command