当前位置:网站首页>【Error】TypeError: expected str, bytes or os. PathLike object, not int
【Error】TypeError: expected str, bytes or os. PathLike object, not int
2022-07-23 23:17:00 【zoetu】
1 Problem description
In the installation tensorflow Time of library package , Meet and os Module related errors :TypeError: expected str, bytes or os.PathLike object, not int

2 The reason for the error
pip Problems caused by version , One environment is py2.7, In order to be able to use pip Revised and reduced the version , Cause now pip Out of commission .
3 Temporary solution
No caching
pip install package_name --no-cache-dir
4 Permanent solution
to update pip
pip install --upgrade pip --no-cache-dir
pip install package_name
Reference material
https://blog.csdn.net/weixin_41010198/article/details/117228472
边栏推荐
- Diabetes genetic risk testing challenge baseline
- FL Studio 20.9 update Chinese version host Daw digital audio workstation
- [nuxt 3] (IX) server routing
- ES6 use of arrow function
- Programming in the novel [serial 16] the moon bends in the yuan universe
- YOLOv4: Optimal Speed and Accuracy of Object Detection
- Ways to improve the utilization of openeuler resources 01: Introduction
- Build your own target detection environment, model configuration, data configuration mmdetection
- This article will show you what typescript is
- Lu Xia action | Source Kai Digital: Existing Mode or open source innovation?
猜你喜欢

DHCP: prevent rogue DHCP server in the network

TAP 系列文章7 | 易于管理的流水线配置

Open source embedded sig in the openeuler community. Let's talk about its multi OS hybrid deployment framework

The I2C interface mode offline burning operation method of h7-tool has been released (2022-07-16)

在openEuler社区开源的Embedded SIG,来聊聊它的多 OS 混合部署框架

USB转CAN设备在核酸提取仪 高性能USB接口CAN卡

As a developer, you have to know the three performance testing tools JMeter, API and jmh user guide

Extract any page number in PDF file with itextpdf

SOLIDWORK learning notes: Sketch geometric relationships and editing

TAP 系列文章5 | 云原生构建服务
随机推荐
Programming in the novel [serial 18] the moon bends in the yuan universe
Mongodb database + graphical tools download, installation and use
Stm32f4 check the frequency of each part of the system
Notes on network segment CIDR
TAP 系列文章5 | 云原生构建服务
After reading this article, thoroughly understand grpc!
Video Number strengthens the fight against vulgar content: the content that violates public order and good customs must be eliminated
2022-7-22 face review + simple topic sorting
[nuxt 3] (IX) server routing
Data sorting and usage before torchvision.datasets.imagefolder
1000 okaleido tiger launched binance NFT, triggering a rush to buy
How to reasonably estimate the size of thread pool
Programming in the novel [serial 20] the moon bends in the yuan universe
At the forefront of the times, Huawei aims at the wind and sea of digital finance
strncat() strncmp()
Debian | Can’t locate Debian/Debhelper/Sequence/germinate. pm in @INC
Relevant interfaces of [asp.net core] option mode
unity visual studio2019升级到2022版本(扔掉盗版红渣)
H7-tool serial port offline burning operation instructions, support TTL serial port, RS232 and RS485 (2022-06-30)
The I2C interface mode offline burning operation method of h7-tool has been released (2022-07-16)