get error of twisted setup when install Scrapy - python

I am trying to install Scrapy but the system showed me the error notification like the below images:
https://imgur.com/QfWrEz9
https://imgur.com/zgCug4z
https://imgur.com/RGAnK00
I also tried to use pip install twisted but it also failed too
Any solution for this problem, pls help me
Thanks

Here you can try Python 3.5.0. : https://www.python.org/downloads/release/python-350/
The scrapy might have issues with the Python 3.7.x, as it is latest one and might show some complications.

Related

Unable to import todoist.api

Trying to access the todoist api, and I copied some code from the api documentation. However, on my system I get an error stating:
Unable to import 'todoist.api'pylint(import-error).
I installed it with:
pip install todoist-python
as mentioned in the documentation
from todoist.api import TodoistAPI
I get my error on the very first line. How do I not get this?
You did everything right, so it's probably related to the way your installation is set.
Be sure you are using the same python you used to install the library. Check if the library is installed (pip list) and check if you're using the right Python when running the code. It's possible that the library was installed in one version and you're using the other.
I had the same problem, I solved it by following the GitHub instructions, but the name of the module to install using pip is todoist.

Import serial to Python

I do have a problem which many people faced already, but after searching through different solutions for hours, I still haven't solved my problem.
For a project, I need Phyton to read my Data from my arduino-uno. Therefore I need the import serial (or import pyserial, I tried both) this doesn't work. I tried installing the library (not really sure where to store it than) but that didn't help either. I also tried using "pip install pyserial" in the console, but that didn't work as well.
Whatever i do i allwas get this error:
pip install pyserial
File "", line 1
pip install pyserial
^
SyntaxError: invalid syntax
I reinstalled Python now as 2.7 and deleted everything Python related. But when i put in pip install pyserial i still geht the same Error
Could someone please help me with this?
Thanks
If you installed pyserial as you stated in the comments using the PyPI command pip install pyserial then you should use
import serial
and not import pyserial as it is shown in the documentation here
If this doesn't work, either there was a problem when installing the library, or you may not be using the same Python environment as the one you think you are (as you did not give details on how you run the script it's hard to tell).
Problem Solved!
Seems like my computer doesn't like python.
Thanks for your help

"Error occurs when install package "gmpy" on pycharm mac version

for some reason I want to install gmpy2 on my python(version 3.6.0), I tried it on pycharm.
and it gives me an error message like below:
(i have already installed pip), anyone help me out? thx!
Usually this sort of problem (missing header files) is related to not installing the base code package that the python code is wrapping. I don't know gmp, but I would try the suggestion here:
Where to find “gmp.h”?

Python Kivy: garden install command fails "no attribute '__file__'"

Good morning folks,
I followed all the instructions to the best of my knowledge for the installation of Kivy.
Unfortunately, after all the setup is complete, I am unable to install a module using garden, which is what I need to do to get Kivy-Designer.
Please advise if you know what I need to do and where I went wrong.
See the link below for a screenshot.
Thanks!
-V
Try to install kivy-garden-0.1.2 vesrion from https://pypi.python.org/pypi/kivy-garden/0.1.2

Tornado.access:500 POST error with IPython 2.0.0 on Python 3.3.5

I keep getting an error when trying to run code from one of my IPython notebooks (the notebooks themselves open up fine, I'm just unable to run any code and view the output).
The complete error is:
ERROR:tornado.access:500 POST /api/sessions (127.0.0.1) 13.01ms referrer=http://127.0.0.1:8888/notebooks/untitled0.ipynb.
I'm running Python 3.3.5, IPython 2.0.0 via an install from easy_install on a windows 8 machine.
I tried reinstalling (uninstall via pip, reinstall via easy_install) the tornado package, IPython, it was of no use.
Any help is greatly appreciated, thank you.
When I used anaconda, I met a similar problem .
Try
pip install simplejson
This works for me
This page talks about a similar problem and solution.
https://github.com/ipython/ipython/issues/1966/
Good Luck!!!
I was using Holoviews package in the IPynb and I was caught by similar error. Then I found that if try to plot a dataframe in the server rather than a "Series", this error shows up. I dont know thw complete reason for this, but to all those who are getting the similar error,
kindly change your data to Series and then plot it in server
Hope it works for you too.

Categories

Resources